◐ Shell
clean mode source ↗

inspector: initial support storage inspection · nodejs/node@36cc041

@@ -677,6 +677,103 @@ setNetworkResources().then(() => {

677677678678

For more details, see the official CDP documentation: [Network.loadNetworkResource](https://chromedevtools.github.io/devtools-protocol/tot/Network/#method-loadNetworkResource)

679679680+

### `inspector.DOMStorage.domStorageItemAdded`

681+682+

<!-- YAML

683+

added:

684+

- REPLACEME

685+

-->

686+687+

* `params` {Object}

688+

* `storageId` {Object}

689+

* `securityOrigin` {string}

690+

* `storageKey` {string}

691+

* `isLocalStorage` {boolean}

692+

* `key` {string}

693+

* `newValue` {string}

694+695+

This feature is only available with the

696+

`--experimental-storage-inspection` flag enabled.

697+698+

Broadcasts the `DOMStorage.domStorageItemAdded` event to connected frontends.

699+

This event indicates that a new item has been added to the storage.

700+701+

### `inspector.DOMStorage.domStorageItemRemoved`

702+703+

<!-- YAML

704+

added:

705+

- REPLACEME

706+

-->

707+708+

* `params` {Object}

709+

* `storageId` {Object}

710+

* `securityOrigin` {string}

711+

* `storageKey` {string}

712+

* `isLocalStorage` {boolean}

713+

* `key` {string}

714+715+

This feature is only available with the

716+

`--experimental-storage-inspection` flag enabled.

717+718+

Broadcasts the `DOMStorage.domStorageItemRemoved` event to connected frontends.

719+

This event indicates that an item has been removed from the storage.

720+721+

### `inspector.DOMStorage.domStorageItemUpdated`

722+723+

<!-- YAML

724+

added:

725+

- REPLACEME

726+

-->

727+728+

* `params` {Object}

729+

* `storageId` {Object}

730+

* `securityOrigin` {string}

731+

* `storageKey` {string}

732+

* `isLocalStorage` {boolean}

733+

* `key` {string}

734+

* `oldValue` {string}

735+

* `newValue` {string}

736+737+

This feature is only available with the

738+

`--experimental-storage-inspection` flag enabled.

739+740+

Broadcasts the `DOMStorage.domStorageItemUpdated` event to connected frontends.

741+

This event indicates that a storage item has been updated.

742+743+

### `inspector.DOMStorage.domStorageItemsCleared`

744+745+

<!-- YAML

746+

added:

747+

- REPLACEME

748+

-->

749+750+

* `params` {Object}

751+

* `storageId` {Object}

752+

* `securityOrigin` {string}

753+

* `storageKey` {string}

754+

* `isLocalStorage` {boolean}

755+756+

This feature is only available with the

757+

`--experimental-storage-inspection` flag enabled.

758+759+

Broadcasts the `DOMStorage.domStorageItemsCleared` event to connected

760+

frontends. This event indicates that all items have been cleared from the

761+

storage.

762+763+

### `inspector.DOMStorage.registerStorage`

764+765+

<!-- YAML

766+

added:

767+

- REPLACEME

768+

-->

769+770+

* `params` {Object}

771+

* `isLocalStorage` {boolean}

772+

* `storageMap` {Object}

773+774+

This feature is only available with the

775+

`--experimental-storage-inspection` flag enabled.

776+680777

## Support of breakpoints

681778682779

The Chrome DevTools Protocol [`Debugger` domain][] allows an