diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index e67a5211..1bd872fe 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -9,7 +9,8 @@ //"/usr/lib/gcc/x86_64-redhat-linux/12/include/**", // Fedora "/usr/local/include/**", "/usr/include/**", - "/usr/lib64/**" + "/usr/lib64/**", + "/usr/lib/**" ], "defines": [], "compilerPath": "/usr/bin/gcc", @@ -19,4 +20,4 @@ } ], "version": 4 -} +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index de7bb05a..e2844e48 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -12,13 +12,19 @@ // This will trigger the "make all" task from tasks.json "preLaunchTask": "make all", // We are not using the binary from the build folder because we do not want to run the "make install" task. - // The "make install" task is only to generate the default naemon configurtion files + // The "make install" task is only to generate the default naemon configurtion files "program": "${workspaceFolder}/src/naemon/.libs/naemon", "args": [ //"--help", "${workspaceFolder}/build/etc/naemon/naemon.cfg" ], "cwd": "${workspaceFolder}", + "environment": [ + { + "name": "LD_LIBRARY_PATH", + "value": "${workspaceFolder}/.libs" + } + ], // Optional parameter. If true, the debugger should stop at the entrypoint of the target. "stopAtEntry": true,