Skip to main content

launch.json for VS Code

.vscode/launch.json holds the debug configurations Visual Studio Code offers when you press F5. The Isoplane extension adds the isoplane configuration type. This page lists the attributes of that type. The tables are generated from the extension's manifest.

Debug an application shows how to use these configurations.

Launch​

A configuration with "request": "launch" builds the application, starts it in a local session and attaches the debugger.

AttributeValueDefaultDescription
projectstringrequiredDirectory containing the Isoplane application project.
configurationstringDebugMSBuild configuration to compile for debugging.
watchbooleantrueRebuild source edits for the next request while keeping the debugger attached.
portnumberHTTP listener port. Use 0 to select an available port.
cliPathstringisoplanePath to the Isoplane CLI executable or assembly (.dll).
consoleintegratedTerminal or internalConsoleintegratedTerminalThe integrated terminal keeps the application running after debugger detach; Ctrl+C stops it.
sourceFileMapobjectMap source directories recorded by the compiler to absolute local directories.
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug local Isoplane",
"type": "isoplane",
"request": "launch",
"project": "${workspaceFolder}",
"configuration": "Debug"
}
]
}

Attach​

A configuration with "request": "attach" attaches the debugger to a local debug session that is already running.

AttributeValueDefaultDescription
portnumberrequiredDebugger port printed by the local Isoplane debug session.
cliPathstringisoplanePath to the Isoplane CLI executable or assembly (.dll).
sourceFileMapobjectMap source directories recorded by the compiler to absolute local directories.