From 5c438c1a705070714891e7e7ba568030b55cb903 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 16 Nov 2020 22:45:13 -0800 Subject: [PATCH] enable mono debugger vscode integration --- .vscode/launch.json | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index ea8d415..77132dc 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -6,10 +6,25 @@ "type": "clr", "request": "launch", "preLaunchTask": "Build: Framework Debug", - "program": "${workspaceFolder}/Anathema/bin/Debug/net48/Anathema.exe", + "program": "${workspaceFolder}/ProjectName/bin/Debug/net48/ProjectName.exe", "args": [], "cwd": "${workspaceFolder}", - "console": "externalTerminal", + "console": "integratedTerminal", + "internalConsoleOptions": "neverOpen" + }, + { + "name": "Attach to Mono Debugger", + "type": "mono", + "request": "launch", + "preLaunchTask": "Build: Mono Debug", + "program": "${workspaceFolder}/ProjectName/bin/Debug/net48/ProjectName.exe", + "args": [], + "env": { + "LD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/net48/lib64", + "DYLD_LIBRARY_PATH": "${workspaceFolder}/ProjectName/bin/Debug/net48/osx" + }, + "cwd": "${workspaceFolder}", + "console": "integratedTerminal", "internalConsoleOptions": "neverOpen" }, {