Created
April 5, 2018 19:27
-
-
Save toriaezunama/f4df1d9e8e7c98b7422655d8404e3d78 to your computer and use it in GitHub Desktop.
How to debug node js with nodemon and chromedev tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Chrome | |
chrome://inspect/ | |
Click: "Open dedicated DevTools for Node" link | |
# index.js | |
... | |
debugger; // stop here | |
... | |
# node | |
node --inspect src/index.js | |
# nodemon | |
nodemon --inspect-brk src/index.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment