https://pulumi.com logo
#dotnet
Title
# dotnet
w

worried-city-86458

07/02/2020, 9:15 PM
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