Created
May 21, 2018 17:16
-
-
Save augustovictor/1aecb86fed30c76ae4388329c4f06957 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Package.json | |
| "debug": "node_modules/.bin/nodemon --inspect-brk=0.0.0.0:9229 index.js" | |
| # lauch.json | |
| { | |
| // 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": [ | |
| { | |
| "name": "Attach", | |
| "type": "node", | |
| "request": "attach", | |
| "port": 9229, | |
| "protocol": "inspector", | |
| "restart": true, | |
| "address": "localhost", | |
| "localRoot": "${workspaceFolder}", | |
| "remoteRoot": "/usr/src/app", | |
| "sourceMaps": true, | |
| "stopOnEntry": false | |
| } | |
| ] | |
| } | |
| # docker-compose | |
| command: npm run debug | |
| ports: | |
| - 3000:3000 | |
| - 9229:9229 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment