nodejs breakpoint

Blogger's WeChat public account: " Programmer Wild Zone ", follow the public account and reply "Add group" to enter the blogger's WeChat group

Open chrome://inspect/#devices in Google and browser

You run the nodejs project locally

node --inspect-brk index.js

Check your 9229 interface to see if the listening interface above is being monitored. If not, you can just add one.

Find the file you want to breakpoint in the Source->node and just set the breakpoint.

Guess you like

Origin blog.csdn.net/xuelang532777032/article/details/132587083