From 518a20306716e6cffe18b06fef115a9149febeb7 Mon Sep 17 00:00:00 2001 From: "Lyu, Wei Da" Date: Mon, 19 May 2025 16:07:55 +0800 Subject: [PATCH] chore: Remove "Run tests with debugger" task. --- .vscode/launch.json | 17 ----------------- README.md | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index a71fed5b7..0161fee8e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -29,23 +29,6 @@ "console": "integratedTerminal", "internalConsoleOptions": "neverOpen" }, - { - "type": "node", - "request": "launch", - "name": "Run tests with debugger", - "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", - "args": [ - "-r", - "ts-node/register", - "--colors", - "${workspaceFolder}/packages/*/test/**/*.ts" - ], - "env": { - "TS_NODE_COMPILER_OPTIONS": "{\"esModuleInterop\":true}" - }, - "console": "integratedTerminal", - "internalConsoleOptions": "neverOpen" - }, { "type": "node", "request": "attach", diff --git a/README.md b/README.md index cc919bdbd..1dd52f10d 100644 --- a/README.md +++ b/README.md @@ -165,7 +165,7 @@ This means it's easy to write tests for your changes: pnpm test ``` -For tricker issues, you can run the tests with a debugger in VSCode by setting a breakpoint (or adding `debugger` in the code) and launching the task: "Run tests with debugger". +For trickier issues, you can run the tests with a debugger in VSCode by setting a breakpoint (or adding `debugger` in the code) and launching the test in the [JavaScript Debug Terminal](https://code.visualstudio.com/docs/nodejs/nodejs-debugging#_javascript-debug-terminal). ## Supporting Svelte