pulumi / pulumi-dotnet

.NET support for Pulumi
Apache License 2.0
28 stars 25 forks source link

add integration test for debugging dotnet #349

Closed tgummerer closed 2 months ago

tgummerer commented 2 months ago

We can do this by attaching netcoredbg to the running process, and sending it a command, so the process realizes a debugger is attach. We're using the thread-info command here, since that's one that works after a bit of experimentation.

Fixes https://github.com/pulumi/pulumi-dotnet/issues/345