Created
August 28, 2019 18:54
-
-
Save plurch/63dc45a545e1e91257641a2816cd4b1b to your computer and use it in GitHub Desktop.
Node debug bash function
This file contains hidden or 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
function nodeDebug() { | |
# https://medium.com/@paul_irish/debugging-node-js-nightlies-with-chrome-devtools-7c4a1b95ae27 | |
echo "Open chrome and type about:inspect" | |
echo "Open dedicated DevTools for Node" | |
node --inspect-brk $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment