Manages DevTools with Node V8 Inspector (node --inspect) Debugging Workflow
This Chrome Extension streamlines your Node.js development cycle when using Chrome DevTools.
NiM provides extended capabilities even compared with the new chrome://inspect option. Check out what Paul Irish of the Google Chrome team wrote about NiM... https://twitter.com/june07t/status/861664828909264896.
NiM manages the Chrome DevTools window/tab life-cycle leaving you with more ability to focus on what matters... debugging your code. You no longer need to copy/paste DevTools URL's or continue opening/closing tabs/windows.
NiM automatically detects the URL that is generated when running node (locally or remotely) with --inspect option. NiM provides you with the option of automatically opening and closing Chrome DevTools in a tab or window. Just toggle the Manual/Auto setting and then start a debugging session. DevTools will open either on clicking the "Open DevTools" button or after the specified timeout period. If set to auto close, once you end your debugging session, DevTools will close automatically.
Use in 3 easy steps:
2. Set hostname and port or use the default localhost and 9229.
3. Click Open DevTools or change setting to Auto
- Manage and monitor local and remote debugging sessions
- Manual or automatic control of DevTools interface
- Open DevTools in a new tab or window
- Make DevTools focused or inactive on start
- Customize duration between v8 Inspector probes
- Auto-save settings
- Set custom DevTools bundle
Note: By it's nature this extension requires permissions which
"Read and change all your data on the websites you visit"
Further to better serve and understand my user base the following permission is asked
"Know your email address"
The following URL will provide what I feel to be an informed viewpoint on the whole matter of permissions: https://palant.de/2016/07/02/why-mozilla-shouldn-t-copy-chrome-s-permission-prompt-for-extensions
No information will ever be shared with 3rd parties. Further the source is open and available on GitHub. However should you still prefer it, a version is available which does not require sharing your email address: http://june07.com/NiM11. I will maintain the code (bug fixes), however feature additions will only be made to this branch. Please feel free to reach out to me email@example.com if you have any other concerns as I am open to discussion. Should any policies change there will be notice given of such changes.
At the time of writing, the v8 --inspect option is fairly new. See https://nodejs.org/api/debugger.html#debugger_v8_inspector_integration_for_node_js for additional details on the option.d
If you enjoy using NiM please give us a 5 star rating and/or a G+1. Any and all feedback is encouraged and welcome. firstname.lastname@example.org Thank you in advance.
This project is open source and available at https://github.com/june07/NiM.
[2.0.1] - 2019-03-11
- Runaway tabs when port fowarding
[2.0.0] - 2019-01-16
-Tabs! Multiple simultaneous debug sessions are now possible with tabs.
-Tab notification to make identifying the active debugging tab easier
[1.4.0] - 2019-01-14
- Added encryption
- Improved locking code
[1.3.2] - 2019-01-14
- Added option to have 'panel' style window. Thank you @T99Rots for the initial PR https://github.com/june07/NiM/pull/64
[1.3.1] - 2018-12-30
- Removed emails from analytics.
[1.3.0] - 2018-10-22
- Added 8 more langulage translations for Bengali, Bulgarian, Hindi, Macedonian, Malay, Persian, Swahil, and Tamil. Thank you @aaliyahw for https://github.com/june07/NiM/pull/58, https://github.com/june07/NiM/pull/59, https://github.com/june07/NiM/pull/61, and https://github.com/june07/NiM/pull/62
[1.2.1] - 2018-10-18
- Fixed a bug causing locks to pile up.
[1.2.0] - 2018-10-14
- Updated appspot DevTools version to Chrome 71.
- Added june07 hosted DevTools version. Added blog post to describe the custom DevTools option https://june07.com/blog/nim-custom-devtools-url.
[1.1.0] - 2018-10-08
- i18N updates to 31 languages.
[1.0.0] - 2018-10-04
- Feature to select which version of DevTools to use including a custom version. This feature stemmed from the following Chrome bug https://bugs.chromium.org/p/chromium/issues/detail?id=851853, and will also work as a fix.
- DevTools panel for future NiM capabilities.
- UI Improvements including moving options from a popup to a page.
[0.15.1] - 2018-06-07
- Added update_url per https://productforums.google.com/forum/?hl=en#!topic/chrome/kGgLwnrDKpQ;context-place=forum/chrome in hopes to fix https://github.com/june07/NiM/issues/34
[0.15.0] - 2018-04-26
- Polish languge updates. Thank you @kubeek https://github.com/june07/NiM/pull/44
- Breaking change in Chrome Version 66.0.3359.117 (Official Build) (64-bit) see https://github.com/june07/NiM/issues/47 and https://github.com/june07/NiM/issues/46 for more info.
[0.14.5] - 2017-11-28
- Changed default setting back to "auto" .
- Added install page for timely messages (i.e. a possible solution to that nasty crashing bug), etc.
[0.14.4] - 2017-11-16
- Changed default settings to "manual" to see if that somehow helps the crashing bug.
[0.14.3] - 2017-11-06
- Lots of deps.
- Changed default key bindings for open devtools shortcut.
[0.14.2] - 2017-10-26
- Forgot to update locales during GitHub Issue #32fix push.
[0.14.1] - 2017-10-23
- Renamed "Hostname" label on popup to "Host" to more accurately represent the data field. Also added/changed the regexp to match and validate data.
[0.14.0] - 2017-10-16
- Notification upon using the keyboard shortcut. The extra permission requirement is so that noticiations can be displayed.
- Bug where the auto/manual setting would revert upon enable/disable of the extension.
[0.13.12] - 2017-10-08
- Regression error from yesterdays push. Regex should not have started and ended from beginnnig and ending of line respectively.
[0.13.9] - 2017-10-07
- Improve Indonesian localization https://github.com/june07/Node.js-inspector-Manager-NiM-/pull/25, and improved remote debugging host https://github.com/june07/Node.js-inspector-Manager-NiM-/pull/26. Thank you to fatkhanfauzi for both PRs!
- Improve Russian localization https://github.com/june07/Node.js-inspector-Manager-NiM-/pull/22, Thank you to artofvs!
[0.13.8] - 2017-05-23
- "Make Window Focused" option not working. Error was due to what I believe is a bug in the Chrome code base...? Anyhow this works around the dependancy.
[0.13.7] - 2017-05-22
- Reload loop in some cases.
[0.13.6] - 2017-05-21
- Stuck in a locked state in some cases.
[0.13.5] - 2017-05-08
- Pretty major bug related to locking fixed.
[0.13.4] - 2017-04-22
- Minor fixed to logging.
[0.13.3] - 2017-04-17
- Faster polling (GitHub - Allow users to pick faster polling rate #13)
- Better debugging options for NiM itself using DevTools instead of the popup window. See https://june07.com/nim/debug for details.
- Bug where settings were not being saved upon restart of Chrome.
[0.12.5] - 2017-03-10
- Not a bug per se but I've received a lot of feedback about it so I added some alerting under certain situations. One being when the user is trying to connect to a non-existant DevTools instance, and/or one on the wrong host, port, etc.
[0.12.4] - 2017-03-06
- GitHub Issue #12 breaking change caused by 0.12.2.
[0.12.2] - 2017-03-05
- GitHub Issue #11 opened by wesbos.
[0.12.1] - 2017-02-28
- Improve German localization https://github.com/june07/NiM/pull/9, Thank you to hpohlmeyer!
- Improve Chinese localization https://github.com/june07/NiM/pull/10, Thank you to jingsam!
[0.12.0] - 2017-02-09
- Version update progress metric capture.
- Optimized CSS files.
[0.11.0] - 2017-02-07
- Better langauge support with the addition of 20 more language translations. Arabic, Czech, Danish, Greek, Estonian, Finnish, Hebrew, Hungarian, Croatian, Indonesian, Latvian, Dutch, Norwegian, Romanian, Slovak, Swedish, Thai, Turkish, Ukrainian, and Vietnamese!
[0.10.0] - 2017-01-30
- This release includes a lot of UI changes, hopefully, all to the better. The color scheme has changed slightly to match that of the main NiM icon. A floating material style button has been added to the lower right corner of the popup to facilitate access to current and possible future features without being disruptive to the UI. Currently, there is a button for the settings modal as well as well as a button for a new feature, the notification area. Again, the notification area was meant to be very non-intrusive and to allow for easier communication to users about important issues. Finally a Google+ Platform link was added to make it even easier to add those stellar reviews and 5 star ratings <i class=\"emo-thumbsup\"></i>. The donation link was also changed partially in response to user feedback about making some additions to that area.
[0.9.3] - 2017-01-19
- There was a "bug" where if a user was debugging remotely and did not forward the DevTools port along with the websocket port, the local websocket port would not be translated. This was fixed.
- Japanese localization improvements https://github.com/june07/NiM/pull/6, Thank you to ABCanG!
- Keyboard Shortcut Ctrl-I for opening DevTools.
- Hitting the Enter key for "host" or "port" input on the popup will open DevTools.
[0.9.2] - 2016-12-30
- Updated analytics to provide more data on program usage.
[0.9.1] - 2016-12-27
- Updated icon set
[0.9.0] - 2016-12-23
- Use Local DevTools option
[0.8.1] - 2016-12-19
- Language support for Portuguese and Chinese.
- Chrome tab not closing properly when using Nodemon #1
- Improve ja localization https://github.com/june07/NiM/pull/3, Thank you to onionmk2!
[0.8.0] - 2016-12-11
- Support for 10 additional languages. Danish, Spanish, French, Italian, Japanese, Korean, Polish, Portuguese, Russian, and Chinese
[0.7.0] - 2016-11-28
- A very short uninstall survey.
[0.6.1] - 2016-11-27
- Remote debugging only worked in some cases.
[0.6.0] - 2016-11-26
- UI improvements
[0.4.0] - 2016-11-17
- The option of auto closing the Chrome DevTools session (tab or window).
Complete changelog: https://github.com/june07/NiM/blob/master/CHANGELOG.md