From c3270ce6478c223e41f5b6acce49e9dd6f0fe7be Mon Sep 17 00:00:00 2001 From: mario4tier Date: Fri, 21 Jun 2024 20:49:08 -0400 Subject: [PATCH] VSCode extension - Add launch.json for devs --- typescript/vscode-extension/.gitignore | 3 ++ .../vscode-extension/.vscode/launch.json | 34 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 typescript/vscode-extension/.vscode/launch.json diff --git a/typescript/vscode-extension/.gitignore b/typescript/vscode-extension/.gitignore index 42069994..8f0db93f 100644 --- a/typescript/vscode-extension/.gitignore +++ b/typescript/vscode-extension/.gitignore @@ -92,3 +92,6 @@ yarn.lock # thumbnail cache on Windows Thumbs.db *.vsix + +# Exceptions +!.vscode/launch.json diff --git a/typescript/vscode-extension/.vscode/launch.json b/typescript/vscode-extension/.vscode/launch.json new file mode 100644 index 00000000..670d6e66 --- /dev/null +++ b/typescript/vscode-extension/.vscode/launch.json @@ -0,0 +1,34 @@ +// A launch configuration that compiles the extension and then opens it inside a new window +// Use IntelliSense to learn about possible attributes. +// Hover to view descriptions of existing attributes. +// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Run Extension", + "type": "extensionHost", + "request": "launch", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}" + ], + "outFiles": [ + "${workspaceFolder}/out/**/*.js" + ], + "preLaunchTask": "${defaultBuildTask}" + }, + { + "name": "Extension Tests", + "type": "extensionHost", + "request": "launch", + "args": [ + "--extensionDevelopmentPath=${workspaceFolder}", + "--extensionTestsPath=${workspaceFolder}/out/test/suite/index" + ], + "outFiles": [ + "${workspaceFolder}/out/test/**/*.js" + ], + "preLaunchTask": "${defaultBuildTask}" + } + ] +}