diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..0c8dc813 --- /dev/null +++ b/.vscode/launch.json @@ -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" + } + ] +} diff --git a/Makefile b/Makefile index 7761fe0b..102ff735 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: up: - docker-compose build && docker-compose up & + docker-compose build && docker-compose up down: docker-compose down diff --git a/docker-compose.yml b/docker-compose.yml index 7ac2eba7..d14f04dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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