diff options
author | Daniel Smith <rdnlsmith@gmail.com> | 2018-10-26 11:44:43 -0400 |
---|---|---|
committer | Daniel Smith <rdnlsmith@gmail.com> | 2018-10-26 11:44:43 -0400 |
commit | 32f83805bf3c6c11a9e79d914ec2cc8ec7de1a9b (patch) | |
tree | eaeda85fed14f8fe7d41307b4f7e0c8377790a38 | |
parent | 1a1006e4b4aedeb0271b547cbbb66e76afdcffbe (diff) |
Enable extension testing via F5 in VS Code
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | .vscode/launch.json | 20 |
2 files changed, 23 insertions, 1 deletions
@@ -93,7 +93,9 @@ ipch/ *.sap # Visual Studio Code folders -.vscode/ +# Keep launch.json +.vscode/* +!.vscode/launch.json # TFS 2012 Local Workspace $tf/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..b3b912d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,20 @@ +// From https://github.com/Tyriar/vscode-theme-sapphire/blob/master/.vscode/launch.json +// A launch configuration that compiles the extension and then opens it inside a new window +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Extension", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}" + ], + "outFiles": [ + "${workspaceFolder}/out/**/*.js" + ], + "preLaunchTask": "npm: start" + } + ] +}
\ No newline at end of file |