Skip to content

Commit

Permalink
adding remote node debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
justinlevi committed Jan 30, 2020
1 parent 08c8b77 commit 84bd03c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions services/api/.vscode/launch.json
@@ -1,6 +1,18 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Docker: Attach to Node",
"type": "node",
"request": "attach",
"port": 9229,
"address": "localhost",
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app/services/api",
"sourceMaps": true,
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
Expand All @@ -25,8 +37,6 @@
"${fileBasenameNoExtension}",
"--config",
"jest.config.js",
"-t",
"#mutation #updateProject #availability"
],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
Expand Down

0 comments on commit 84bd03c

Please sign in to comment.