From 2cea4b26e88c103d07901cdfaea9302f53ef28b7 Mon Sep 17 00:00:00 2001 From: Taryn Hill Date: Fri, 30 Oct 2020 06:56:45 -0500 Subject: [PATCH] vscode debugging: build before launching --- .vscode/launch.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 60a5478821..254d8a3aeb 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -13,7 +13,8 @@ "request": "launch", "program": "${workspaceRoot}/OpenRA.Game.exe", "cwd": "${workspaceRoot}", - "args": ["Game.Mod=cnc"] + "args": ["Game.Mod=cnc"], + "preLaunchTask": "build", }, { "name": "Launch (RA)", @@ -27,7 +28,8 @@ "request": "launch", "program": "${workspaceRoot}/OpenRA.Game.exe", "cwd": "${workspaceRoot}", - "args": ["Game.Mod=ra"] + "args": ["Game.Mod=ra"], + "preLaunchTask": "build", }, { "name": "Launch (D2k)", @@ -41,7 +43,8 @@ "request": "launch", "program": "${workspaceRoot}/OpenRA.Game.exe", "cwd": "${workspaceRoot}", - "args": ["Game.Mod=d2k"] + "args": ["Game.Mod=d2k"], + "preLaunchTask": "build", }, { "name": "Launch (TS)", @@ -55,7 +58,8 @@ "request": "launch", "program": "${workspaceRoot}/OpenRA.Game.exe", "cwd": "${workspaceRoot}", - "args": ["Game.Mod=ts"] + "args": ["Game.Mod=ts"], + "preLaunchTask": "build", }, ] }