Created
December 20, 2018 21:06
-
-
Save bhuizi/7c08ff48b736b6a120a4eb26af93f191 to your computer and use it in GitHub Desktop.
launch json w/ ts
This file contains 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 Node.js debug 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": "Launch Program", | |
"program": "${workspaceFolder}/src/server.ts", | |
"outFiles": [ | |
"${workspaceFolder}/dist/**/*.js" | |
], | |
"env": { | |
"NODE_ENV": "development" | |
} | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Local Nodemon", | |
"preLaunchTask": "tsc-watch", | |
"protocol": "auto", | |
"runtimeExecutable": "npm", | |
"runtimeArgs": [ "run", "debug" ], | |
"restart": true, | |
"port": 5858, | |
"console": "integratedTerminal", | |
"internalConsoleOptions": "neverOpen", | |
"outFiles": [ | |
"${workspaceFolder}/dist/**/*.js" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment