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",
"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",
},
]
}