Skip to content

Commit

Permalink
node-inspector with DEBUG, also no exception on console, solved via:
Browse files Browse the repository at this point in the history
    npm uninstall -g node-inspector
    npm i -g node-inspector
refer to: node-inspector/v8-debug#18, this can be debugged 1 line to 1 line.
current node version is v5.6.0, npm version is 3.10.3
  • Loading branch information
ZengJunyong committed Sep 19, 2016
1 parent 8858815 commit 9506be0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file added 01 node-inspector.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions nd
@@ -0,0 +1,5 @@
killall node
DEBUG=* node --debug-brk=5858 bin/www &
node-inspector &
sleep 3
open http://127.0.0.1:8080/?ws=127.0.0.1:8080&port=5858

0 comments on commit 9506be0

Please sign in to comment.