Created
September 15, 2016 11:37
-
-
Save hilkeheremans/20b2fa2b9c473f293f1eb32701c1b2d0 to your computer and use it in GitHub Desktop.
VS Code config for remote debugging on nodejs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tsconfig.json | |
{ | |
"compilerOptions": { | |
"module": "commonjs", | |
"target": "es6", | |
"noImplicitAny": false, | |
"outDir": "dist/", | |
"removeComments": true, | |
"sourceMap": true, | |
"watch": true | |
}, | |
"exclude": [ | |
"node_modules" | |
] | |
} | |
# launch.json | |
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "app", | |
"address": "server.dev", | |
"localRoot": "${workspaceRoot}/dist/", | |
"outDir": "${workspaceRoot}/dist/", | |
"type": "node", | |
"remoteRoot": "/app/lib/", | |
"request": "attach", | |
"restart": true, | |
"sourceMaps": true, | |
"port": 12345 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment