Created
October 7, 2021 01:04
-
-
Save miparnisari/3b0544936cc7835367aaa13f037fdf18 to your computer and use it in GitHub Desktop.
Config to debug a VS code extension
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "extensionHost", | |
"request": "launch", | |
"name": "Debug client.ts", | |
"runtimeExecutable": "${execPath}", | |
"args": [ | |
"--extensionDevelopmentPath=${workspaceRoot}" | |
], | |
"stopOnEntry": false, | |
"sourceMaps": true, | |
"outFiles": [ | |
"${workspaceRoot}/client/out/**/*.js" | |
] | |
// "preLaunchTask": "watch" | |
}, | |
{ | |
"type": "node", | |
"request": "attach", | |
"name": "Debug server.ts", | |
"address": "localhost", | |
"protocol": "inspector", | |
"port": 6010, | |
"sourceMaps": true, | |
"outFiles": [ | |
"${workspaceRoot}/server/out/**/*.js" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment