whistle.connect-react-devtools

0.0.3 • Public • Published

whistle.connect-react-devtools

This plugin injects code into html to connect to react-devtools. It may be useful when debugging webview or something cannot utilize chrome extension React Developer Tools.

Note

  1. based on react-devtools@4.13.5
  2. may conflict with chrome extension React Developer Tools

Usage

  1. install react-devtools
npm install -g react-devtools
  1. install whistle.connect-react-devtools
npm install -g whistle.connect-react-devtools
  1. add rule in whistle
# default connected to localhost:8097
pattern whistle.connect-react-devtools://

# customize host and port
pattern whistle.connect-react-devtools://ip:port
  1. start react-devtools
react-devtools
  1. open webpage and start debugging

Readme

Keywords

none

Package Sidebar

Install

npm i whistle.connect-react-devtools

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

516 kB

Total Files

4

Last publish

Collaborators

  • mapoos