diff --git a/.vscode/launch.json b/.vscode/launch.json index 0be1e310e7..59b9b6e82e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -156,6 +156,23 @@ "!**/node_modules/**" ] }, + { + "name": "Update fixtures, unit tests only", + "type": "node", + "request": "launch", + "program": "${workspaceFolder}/packages/test-harness/out/scripts/runUnitTestsOnly", + "env": { + "CURSORLESS_TEST": "true", + "CURSORLESS_TEST_UPDATE_FIXTURES": "true", + "CURSORLESS_REPO_ROOT": "${workspaceFolder}" + }, + "outFiles": ["${workspaceFolder}/**/out/**/*.js"], + "preLaunchTask": "${defaultBuildTask}", + "resolveSourceMapLocations": [ + "${workspaceFolder}/**", + "!**/node_modules/**" + ] + }, { "name": "Docusaurus start", "type": "node",