How to debug “built” production NodeJS
问题 I am using Visual Studio code to debug a node application in production environment The Node process runs inside docker, I port-forwarded and signaled USR1 to enable attaching debugger from VS code to that node process My VS Code configuration is like this { "version": "0.2.0", "configurations": [ { "type": "node", "request": "attach", "name": "Debug: service", "sourceMaps": true, "smartStep": true, "remoteRoot": "/src/", "localRoot": "/home/my-username/work/orders/src/", "protocol":