Last active
March 30, 2017 08:34
-
-
Save banyudu/7758dcfa873f330d4b8907225b3cc64d to your computer and use it in GitHub Desktop.
launch.json for typescript
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch", | |
"program": "${workspaceRoot}/index.ts", | |
"sourceMaps": true, | |
"outFiles": [] | |
}, | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "Attach", | |
"address": "localhost", | |
"port": 5858, | |
"outFiles": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Set program as the .ts file instead of compiled .js file.
Auto remember to set "sourceMaps" to true.