{ // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "command": "npm run start", "name": "Run npm start", "request": "launch", "type": "node-terminal" }, { "name": "Launch Program", "program": "${workspaceFolder}/index.js", "request": "launch", "skipFiles": [ "/**" ], "type": "node" }, { "name": "Attach to Remote Docker", "type": "node", "request": "attach", "remoteRoot": "/app", "localRoot": "${workspaceFolder}", "protocol": "inspector", "address": "localhost", "port": 9229, "restart": true, "skipFiles": [ "/**" ], "sourceMaps": true, "outFiles": [ "${workspaceFolder}/dist/**/*.js" ] }, { "type": "node", "request": "attach", "name": "Docker: Attach to Node", "port": 9229, "address": "localhost", "localRoot": "${workspaceFolder}", "remoteRoot": "/usr/src/app", // Path where your app is located in Docker "protocol": "inspector" } ] }