Debugger now uses the DYLD_LIBRARY_PATH

This commit is contained in:
Caleb Cornett 2018-10-09 12:32:33 -04:00
parent d7b64583ec
commit 8edae2cf04
2 changed files with 8 additions and 3 deletions

View File

@ -10,7 +10,12 @@
"request": "launch", "request": "launch",
"program": "${workspaceFolder}/bin/Debug/project_name.exe", "program": "${workspaceFolder}/bin/Debug/project_name.exe",
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"preLaunchTask": "Build (Debug)" "preLaunchTask": "Build (Debug)",
"osx":{
"env": {
"DYLD_LIBRARY_PATH": "${workspaceFolder}/bin/Debug/osx/"
},
}
}, },
{ {
"name": "Attach", "name": "Attach",

View File

@ -12,9 +12,9 @@
{ {
"label": "Clean Project", "label": "Clean Project",
"type": "shell", "type": "shell",
"command": "msbuild /t:clean /p:configuration=Debug; msbuild /t:clean /p:configuration=Release", "command": "msbuild /t:clean /p:configuration=Debug ; msbuild /t:clean /p:configuration=Release",
"group": "build", "group": "build",
"problemMatcher": "$msCompile" "problemMatcher": "$msCompile",
}, },
{ {