LocalDebugWindows
The following quick cuts may be useful when running Shibboleth executable under the debugger.
Visual Studio must have been started from a command prompt with the environment set up.
h:\dir> cpp-msbuild\dependencies\config.bat
h:\dir> cpp-shibproject\Projects\vc15\soltionName.sln
Set up the debug by right clicking on the project, selecting properties and then the Debugging menu (again for the appropriate configuration and platform),
Make (at least) the following settings:
Debugger to Launch | Local Windows Debugger (default) |
Command | $(Target) (default) |
Command Arguments | As appropriate (e,g, -console for shibd) |
Working Directory | c:\opt\shibboleth-sp\.... (shibd) |
Environment | PATH=$(Path);$(ShibRunPath) |
This settings go into the project.vcxproj.user
file which is not saved to source control.