From 5a4de20bc37c172374dca9ce1bdf02cef452b1c0 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Wed, 4 Sep 2024 14:17:58 +0100 Subject: [PATCH] configure runner to debug Stack build --- .vscode/launch.json | 36 +++++------------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index cd16155..6559e31 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,11 +3,12 @@ { "type": "swift-lldb", "request": "launch", - "sourceLanguages": [ - "swift" + "args": [ + "archive", + "--platform=macOS", + "--verbose" ], - "args": [], - "cwd": "${workspaceFolder:ReleaseTools}", + "cwd": "${workspaceFolder:ReleaseTools}/../stack/", "name": "Debug rt", "program": "${workspaceFolder:ReleaseTools}/.build/debug/rt", "preLaunchTask": "swift: Build Debug rt" @@ -15,38 +16,11 @@ { "type": "swift-lldb", "request": "launch", - "sourceLanguages": [ - "swift" - ], "args": [], "cwd": "${workspaceFolder:ReleaseTools}", "name": "Release rt", "program": "${workspaceFolder:ReleaseTools}/.build/release/rt", "preLaunchTask": "swift: Build Release rt" }, - { - "type": "swift-lldb", - "request": "launch", - "sourceLanguages": [ - "swift" - ], - "args": [], - "cwd": "${workspaceFolder:ReleaseTools}", - "name": "Debug Configure", - "program": "${workspaceFolder:ReleaseTools}/.build/debug/Configure", - "preLaunchTask": "swift: Build Debug Configure" - }, - { - "type": "swift-lldb", - "request": "launch", - "sourceLanguages": [ - "swift" - ], - "args": [], - "cwd": "${workspaceFolder:ReleaseTools}", - "name": "Release Configure", - "program": "${workspaceFolder:ReleaseTools}/.build/release/Configure", - "preLaunchTask": "swift: Build Release Configure" - } ] } \ No newline at end of file