From 131d82851bb6db1392c0973c4d99673cfa7ffa62 Mon Sep 17 00:00:00 2001 From: corbob Date: Mon, 30 Sep 2019 06:54:28 -0700 Subject: [PATCH] Add a configuration to launch PowerShell from code --- .vscode/launch.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.vscode/launch.json b/.vscode/launch.json index 964f8f2..ad82f88 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,6 +9,13 @@ "request": "attach", "name": "Attach by Process ID", "processId": "${command:PickProcess}" + }, + { + "name": "PowerShell: Launch Current File", + "type": "PowerShell", + "request": "launch", + "script": "${file}", + "cwd": "${file}" } ] }