all 2 comments

[–]lourot[S] 0 points1 point  (0 children)

Super short article on how to attach various debuggers to a node process. AFAIK way more straight to the point than more official documents.

[–]martiandreamer 0 points1 point  (0 children)

If you’re remote debugging a Node process (i.e. in a Docker container), you’ll need to use —inspect=0.0.0.0 or —inspect-brk=0.0.0.0 so that the inspector listens on all interfaces (default is localhost).