diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000000000000000000000000000000000..7f5a5c9493019ce4fa3f70f6a2adaec6634b948b --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + // 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}/pass", + "remoteRoot": "/app", + "skipFiles": [ + "${workspaceFolder}/node_modules/**/*.js", + "<node_internals>/**/*.js" + ], + } + ] +} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 7d7636f9c1a4d318b0b64087fc7b0d4b06975e6c..6383817bd0d3845781078bedd83afda2e9b02daa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,7 @@ services: - mgpassdata:/data ports: - 8080:3000 + - 9229:9229 redis: build: context: ./build/redis diff --git a/pass/package.json b/pass/package.json index c4dc533fa294bf1d20e3ac1bab2ecef7b7305c60..de9f33639f1dc4f6c1e16f49419c876d3f74954f 100644 --- a/pass/package.json +++ b/pass/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "start": "node ./bin/www", - "dev": "nodemon --exec node ./bin/www" + "dev": "nodemon --exec node --inspect=0.0.0.0 ./bin/www" }, "dependencies": { "@paypal/paypal-js": "^5.1.1", @@ -33,4 +33,4 @@ "devDependencies": { "nodemon": "^2.0.20" } -} +} \ No newline at end of file