aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--.vscode/launch.json20
2 files changed, 23 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index e3f7ea2..d318741 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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