Skip to content

Instantly share code, notes, and snippets.

@jhnns
Created November 16, 2018 10:36
Show Gist options
  • Save jhnns/88e9dbe7e740fedf4f63f5315ac9045b to your computer and use it in GitHub Desktop.
Save jhnns/88e9dbe7e740fedf4f63f5315ac9045b to your computer and use it in GitHub Desktop.
How to debug a Node.js server written in TypeScript running in Docker
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Docker: Attach to Node",
"port": 9229,
"address": "localhost",
"localRoot": "${workspaceFolder}",
"remoteRoot": "/usr/src/app",
"protocol": "inspector"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment