From ee037fdda804c9adb3d7d6d1996fd3d9069728d3 Mon Sep 17 00:00:00 2001 From: Darlington Ogbuefi Date: Sun, 30 Aug 2026 17:30:49 +0100 Subject: [PATCH] Fix PowerShell launch current file args snippet (#4671) --- package.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/package.json b/package.json index 75eaf159e8..22b6f9098a 100644 --- a/package.json +++ b/package.json @@ -545,6 +545,20 @@ "cwd": "^\"\\${cwd}\"" } }, + { + "label": "PowerShell: Launch Current File w/Args Prompt", + "description": "Launch and debug the current file, prompting for command-line arguments", + "body": { + "name": "PowerShell Launch Current File w/Args Prompt", + "type": "PowerShell", + "request": "launch", + "script": "^\"\\${file}\"", + "args": [ + "\\${command:SpecifyScriptArgs}" + ], + "cwd": "^\"\\${cwd}\"" + } + }, { "label": "PowerShell: Launch Script", "description": "Launch and debug the specified file or command",