diff --git a/.gitignore b/.gitignore index 9641d2574..812c68405 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,10 @@ token package-lock.json -.vscode/ +# ignore files in /.vscode/ except for /.vscode/launch.json +/.vscode/** +!/.vscode/launch.json + cypress/platform/current.html cypress/platform/experimental.html local/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 000000000..92df7056e --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "node", + "request": "launch", + "name": "Debug Current Test File", + "autoAttachChildProcesses": true, + "skipFiles": ["/**", "**/node_modules/**"], + "program": "${workspaceRoot}/node_modules/vitest/vitest.mjs", + "args": ["run", "${relativeFile}"], + "smartStep": true, + "console": "integratedTerminal" + } + ] +}