Notes: - I'm using a <https://github.com/microsoft...
# dotnet
w
Notes: • I'm using a hack that uses a problem matcher to sync with
pulumi up
as a background task • ... this seems to require
--debug
output from Pulumi to try get some relevant output to delay until the child dotnet process has started • It would be nice if Pulumi supported a command-line option like
--debug-break
that would output the dotnet pid and wait for the debugger • VS Code prompts multiple times for the parameters since it currently doesn't support passing parameters to the preLaunchTask • I can now simply
F6
to build (sanity check) and
F5
to jump into a debugging session (prompted for project and stack)
FWIW, Cake supports debugging a C# build script with a
--debug
option: • DebugCommand.ExecuteCakeDebugger.WaitForAttach