@hippy/vanilla-js-devtools

0.1.10 • Public • Published

vanilla-js-devtools

Hippy devtools backend for Network, Storage, Cookie, Log. Support in non-XCode compiled App. This is implemented by JS environment, inject and hook the above API, send CDP in the hooks to devtools frontend.

Usage

this package is imported by @hippy/debug-server-next, you could enable by config in webpack.config.js:

module.exports = {
  devServer: {
    // by default is true, you could set false to disable this feature.
    injectJSDevtools: false,
    // or specific domain list to inspect Cookie.
    injectJSDevtools: {
      domains: ['https://hippyjs.org', 'https://qq.com'],
    }
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @hippy/vanilla-js-devtools

Homepage

hippyjs.org

Weekly Downloads

27

Version

0.1.10

License

MIT

Unpacked Size

203 kB

Total Files

5

Last publish

Collaborators

  • raypro
  • zealotchen
  • ivanfanwu
  • zoomchan-cxj
  • chestershen