StarCraft 2 Map LauncherLaunch your StarCraft II map directly from VS Code — no alt-tabbing required. FeaturesStatus bar launch buttonA Run & Debug integrationThe extension registers itself as a debug configuration provider. Open the Run and Debug panel and
Press F5 or click the green play button to launch.
Advanced launch options via
|
| Option | Type | Description |
|---|---|---|
triggerDebug |
boolean | Open the in-game trigger debugger window on launch |
showErrors |
boolean | Stream SC2 output to the SC2 Output Channel in VS Code |
preload |
boolean | Preload map assets before launching |
noUserCheats |
boolean | Disable in-game cheat commands |
reloadCheck |
boolean | Enable reload checking (-reloadcheck) |
meleeMod |
string | Game mode/mod override (e.g. "Void") |
difficulty |
number | AI difficulty: 0=VeryEasy, 1=Easy, 2=Medium, 3=Hard |
speed |
number | Game speed: 0=Slower, 1=Slow, 2=Normal, 3=Fast, 4=Faster |
map |
string | Override the map path for this configuration. Absolute or relative path. Leave empty to use sc2.mapPath or auto-detection |
testMod |
string | Path to the .SC2Mod / component folder to load via -testmod |
testConfig |
string | Path to a .SC2TestConfig file passed as -testconfig; accepts an absolute path or a path relative to the workspace root |
Running SC2 behavior
If StarCraft II is already running when you trigger a launch, the extension kills the existing process and relaunches the map.
By default, sc2.warnIfRunning is enabled, so the extension shows a confirmation dialog before killing a running SC2 instance. Disable this setting if you want launches to skip the prompt and relaunch immediately.
Auto-detects map path
The extension scans your workspace for the first folder ending in .SC2Map and uses it as the map path. No configuration needed for standard project layouts.
Setup
- Open Settings (
Ctrl+,) and search for SC2. - Set SC2: Install Dir to your StarCraft II root folder.

| Setting | Description |
|---|---|
sc2.installDir |
Required. Path to your StarCraft II root folder (e.g. C:\StarCraft II). |
sc2.mapPath |
Absolute path to the .SC2Map folder. Leave empty to auto-detect from the workspace. |
sc2.warnIfRunning |
Show a confirmation dialog before killing a running SC2 instance and relaunching the map. Default: true. Disable it to skip the prompt and relaunch immediately. |
Requirements
- Windows
- StarCraft II installed
- VS Code >= 1.80


