From 8edae2cf0440ea75ac1c3b9414f6b8ec58670279 Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Tue, 9 Oct 2018 12:32:33 -0400 Subject: [PATCH] Debugger now uses the DYLD_LIBRARY_PATH --- project_name/.vscode/launch.json | 7 ++++++- project_name/.vscode/tasks.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/project_name/.vscode/launch.json b/project_name/.vscode/launch.json index bedb9b1..d2adc58 100644 --- a/project_name/.vscode/launch.json +++ b/project_name/.vscode/launch.json @@ -10,7 +10,12 @@ "request": "launch", "program": "${workspaceFolder}/bin/Debug/project_name.exe", "cwd": "${workspaceFolder}", - "preLaunchTask": "Build (Debug)" + "preLaunchTask": "Build (Debug)", + "osx":{ + "env": { + "DYLD_LIBRARY_PATH": "${workspaceFolder}/bin/Debug/osx/" + }, + } }, { "name": "Attach", diff --git a/project_name/.vscode/tasks.json b/project_name/.vscode/tasks.json index f63488d..06fb8a6 100644 --- a/project_name/.vscode/tasks.json +++ b/project_name/.vscode/tasks.json @@ -12,9 +12,9 @@ { "label": "Clean Project", "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", - "problemMatcher": "$msCompile" + "problemMatcher": "$msCompile", }, {