FNA-VSCode-Template/.vscode/launch.json
2020-11-02 20:02:03 -08:00

77 lines
2.4 KiB
JSON

{
// Change "mono" to "clr" for 64-bit .NET Framework debugging on Windows.
// (See: https://github.com/OmniSharp/omnisharp-vscode/wiki/Desktop-.NET-Framework)
"version": "0.2.0",
"configurations": [
{
"name": "Launch (dotnet)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "Build (Debug)",
"program": "${workspaceFolder}/project_name/bin/Debug/project_name.dll",
"args": [],
"cwd": "${workspaceFolder}/project_name",
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart",
"osx":{
"env": {
"DYLD_LIBRARY_PATH": "${workspaceFolder}/project_name/bin/Debug/osx/"
}
}
},
{
"name": "Launch (Mac)",
"type": "mono",
"request": "launch",
"program": "${workspaceFolder}/project_name/bin/Debug/project_name.exe",
"cwd": "${workspaceFolder}/project_name",
"preLaunchTask": "Build (Debug)",
"osx":{
"env": {
"DYLD_LIBRARY_PATH": "${workspaceFolder}/project_name/bin/Debug/osx/"
}
}
},
{
"name": "Launch Without Building (Mac)",
"type": "mono",
"request": "launch",
"program": "${workspaceFolder}/project_name/bin/Debug/project_name.exe",
"cwd": "${workspaceFolder}",
"osx":{
"env": {
"DYLD_LIBRARY_PATH": "${workspaceFolder}/project_name/bin/Debug/osx/"
}
}
},
{
"name": "Launch (Windows)",
"type": "clr",
"request": "launch",
"program": "${workspaceFolder}/project_name/bin/Debug/project_name.exe",
"cwd": "${workspaceFolder}/project_name",
"preLaunchTask": "Build (Debug)"
},
{
"name": "Launch Without Building (Windows)",
"type": "clr",
"request": "launch",
"program": "${workspaceFolder}/project_name/bin/Debug/project_name.exe",
"cwd": "${workspaceFolder}"
},
{
"name": "Attach",
"type": "mono",
"request": "attach",
"address": "localhost",
"port": 55555
}
]
}