Command line node –inspect-brk start nodejs application:
Then open Chrome, type Chrome ://inspect in the address bar, and click the inspect button:
You can debug it in Chrome Developer Tools:
For more of Jerry’s original articles, please follow the public account “Wang Zixi “: