Skip to content

Instantly share code, notes, and snippets.

@sagar2009kumar
Created June 20, 2021 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagar2009kumar/fe9380548cef6d4dc9f048f64cbaf9b4 to your computer and use it in GitHub Desktop.
Save sagar2009kumar/fe9380548cef6d4dc9f048f64cbaf9b4 to your computer and use it in GitHub Desktop.
Debug confguration file for the debugging in docker
{
// 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
// Debug file for vscode in the docker
"version": "0.2.0",
"diagnosticLogging": true,
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Docker: Attach to Node",
"protocol": "inspector",
"port": 9229,
"restart": true,
"sourceMaps": true,
"smartStep": true,
"address": "localhost",
"localRoot": "${workspaceFolder}/src",
"remoteRoot": "/app/src",
"timeout": 50000,
"showAsyncStacks": true,
"sourceMapPathOverrides": {
"/app/src/*": "${workspaceFolder}/src/*"
},
"skipFiles": [
"app/node_modules/**/*.js",
"<node_internals>/**/*.js"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment