Skip to content

Commit

Permalink
chore: make it possible to debug using vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
srfrnk committed Mar 8, 2018
1 parent a0a0e54 commit d9d3237
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// 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": "Attach to Docker",
"address": "localhost",
"port": 9229,
"localRoot": "${workspaceFolder}",
"remoteRoot": "/app"
}
]
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ all:


up:
docker-compose build && docker-compose up &
docker-compose build && docker-compose up

down:
docker-compose down
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ version: '3'
services:
missioncontrol:
build: .
command: 'nodemon server/start-servers.js'
command: 'nodemon --inspect=0.0.0.0:9229 server/start-servers.js'
ports:
- '8888:8443'
- '9090:9090'
- '9229:9229'
environment:
NODE_ENV: development
DAV_ENV: simulated
Expand Down

0 comments on commit d9d3237

Please sign in to comment.