From bbf48e582aeac05daf97477c55fb6b0b0a906e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=89=E9=9E=8B=E6=B2=A1=E5=8F=B7?= <308487730@qq.com> Date: Mon, 14 Mar 2022 16:38:07 +0800 Subject: [PATCH] use type shell --- .vscode/tasks.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 06b1774..3ae1911 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -5,12 +5,14 @@ "tasks": [ { "label": "start .debug.script.mjs", - "command": "node", - "args": [ - ".vscode/.debug.script.mjs" - ], + "type": "shell", + "command": "node .vscode/.debug.script.mjs", "isBackground": true, "problemMatcher": [] } ] } + +// https://code.visualstudio.com/docs/editor/tasks#_operating-system-specific-properties +// https://code.visualstudio.com/docs/editor/tasks#_background-watching-tasks +// https://code.visualstudio.com/docs/editor/tasks#_can-a-background-task-be-used-as-a-prelaunchtask-in-launchjson