Skip to content

Commit

Permalink
chore: vs code Node debugger config
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Dobbertin <eric@dairystatedesigns.com>
  • Loading branch information
aldeed committed Jan 2, 2020
1 parent f3ae988 commit d730f10
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .vscode/launch.json
@@ -0,0 +1,18 @@
{
// 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": [
{
"type": "node",
"request": "attach",
"name": "Docker: Attach to Node",
"port": 9229,
"address": "localhost",
"localRoot": "${workspaceFolder}",
"remoteRoot": "/usr/local/src/app",
"protocol": "inspector"
}
]
}
3 changes: 3 additions & 0 deletions docker-compose.dev.yml
Expand Up @@ -13,6 +13,9 @@ version: '3.4'
services:
api:
image: reactioncommerce/node-dev:12.10.0-v1
ports:
- "3000:3000"
- "9229:9229"
volumes:
- .:/usr/local/src/app:cached
- api_node_modules:/usr/local/src/app/node_modules # do not link node_modules in, and persist it between dc up runs
Expand Down

0 comments on commit d730f10

Please sign in to comment.