vscode debugging: build before launching

This commit is contained in:
Taryn Hill
2020-10-30 06:56:45 -05:00
committed by abcdefg30
parent 48f4a98c6a
commit 2cea4b26e8

12
.vscode/launch.json vendored
View File

@@ -13,7 +13,8 @@
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/OpenRA.Game.exe", "program": "${workspaceRoot}/OpenRA.Game.exe",
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"args": ["Game.Mod=cnc"] "args": ["Game.Mod=cnc"],
"preLaunchTask": "build",
}, },
{ {
"name": "Launch (RA)", "name": "Launch (RA)",
@@ -27,7 +28,8 @@
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/OpenRA.Game.exe", "program": "${workspaceRoot}/OpenRA.Game.exe",
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"args": ["Game.Mod=ra"] "args": ["Game.Mod=ra"],
"preLaunchTask": "build",
}, },
{ {
"name": "Launch (D2k)", "name": "Launch (D2k)",
@@ -41,7 +43,8 @@
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/OpenRA.Game.exe", "program": "${workspaceRoot}/OpenRA.Game.exe",
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"args": ["Game.Mod=d2k"] "args": ["Game.Mod=d2k"],
"preLaunchTask": "build",
}, },
{ {
"name": "Launch (TS)", "name": "Launch (TS)",
@@ -55,7 +58,8 @@
"request": "launch", "request": "launch",
"program": "${workspaceRoot}/OpenRA.Game.exe", "program": "${workspaceRoot}/OpenRA.Game.exe",
"cwd": "${workspaceRoot}", "cwd": "${workspaceRoot}",
"args": ["Game.Mod=ts"] "args": ["Game.Mod=ts"],
"preLaunchTask": "build",
}, },
] ]
} }