Last active
April 3, 2019 10:51
-
-
Save ff6347/ae4d31971f92ef8a6aa6d684c3bbd37a to your computer and use it in GitHub Desktop.
nodemon and vscode debugger
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
| { | |
| // 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": "Node: Nodemon", | |
| "processId": "${command:PickProcess}", | |
| // "port": 9229, | |
| "restart": true, | |
| "smartStep": true, | |
| "stopOnEntry": true, | |
| "protocol": "inspector", | |
| // "sourceMaps": true, | |
| // "outFiles": ["${workspaceFolder}/dist/**/*.js"], | |
| "skipFiles": [ | |
| "${workspaceFolder}/node_modules/**/*.js", | |
| "${workspaceFolder}/node_modules/**/*.ts", | |
| "<node_internals>/**/*.js", | |
| "*VM*" | |
| ] | |
| }, | |
| ] | |
| } |
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
| { | |
| "ignore": [ | |
| "**/*.test.ts", | |
| "**/*.spec.ts", | |
| ".git", | |
| "node_modules/**/node_modules", | |
| ], | |
| "watch": [ | |
| "./" | |
| ], | |
| "exec": "node --inspect index.js", | |
| "ext": "js,json", | |
| "restartable": "rs", | |
| "verbose": true, | |
| "env": { | |
| "NODE_ENV": "development", | |
| "NODE_DOCKER_ENV": "0" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment