Skip to content

Commit e448276

Browse files
Fix PowerShell launch current file args snippet (#4671)
1 parent 9c59338 commit e448276

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,18 @@
545545
"cwd": "^\"\\${cwd}\""
546546
}
547547
},
548+
{
549+
"label": "PowerShell: Launch Current File w/Args Prompt",
550+
"description": "Launch and debug the current file, prompting for command-line arguments",
551+
"body": {
552+
"name": "PowerShell Launch Current File w/Args Prompt",
553+
"type": "PowerShell",
554+
"request": "launch",
555+
"script": "^\"\\${file}\"",
556+
"args": ["\\${command:SpecifyScriptArgs}"],
557+
"cwd": "^\"\\${cwd}\""
558+
}
559+
},
548560
{
549561
"label": "PowerShell: Launch Script",
550562
"description": "Launch and debug the specified file or command",

0 commit comments

Comments
 (0)