-
-
Save walkerdepaula/c27209195a4f0e2ac7f3f765465b1653 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
| { | |
| // 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": "launch", | |
| "name": "Node: Launch index.js", | |
| "program": "${workspaceFolder}/index.js", | |
| "env": { | |
| "NODE_ENV": "development" | |
| } | |
| }, | |
| { | |
| "type": "node", | |
| "request": "attach", | |
| "name": "Node: Attach to nodemon", | |
| "processId": "${command:PickProcess}", | |
| "restart": true, | |
| "protocol": "inspector", | |
| }, | |
| { | |
| "name": "Node: NPM run start-debug (Wrapper)", | |
| "type": "node", | |
| "request": "launch", | |
| "cwd": "${workspaceFolder}", | |
| "runtimeExecutable": "npm", | |
| "runtimeArgs": [ | |
| "run-script", "start-debug" | |
| ], | |
| "restart": true, | |
| "port": 9229 | |
| }, | |
| { | |
| "name": "Node: NPM run start-dev (Frontend)", | |
| "type": "node", | |
| "request": "launch", | |
| "cwd": "${workspaceFolder}", | |
| "runtimeExecutable": "npm", | |
| "runtimeArgs": [ | |
| "run-script", "start-dev" | |
| ], | |
| "restart": true, | |
| "port": 9229 | |
| } | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
En package.json crear la línea
"start-debug": "NODE_ENV=development nodemon --inspect ./index.js",