Rider debug with watch

Is there currently a way to run a dotnet watch in debug mode in Rider? I.e if I make a change to the source, it'll hotreload or restart the app and reattach the debugger?

0
2 comments

Rider debugger allows hot reload on most of the project types. You don't have to use dotnet watch all the times.

https://www.jetbrains.com/help/rider/Hot_Reload.html#Make_changes_when_debugging

Also, our advocate creates a plugin for creating dotnet watch run profile. 

https://blog.jetbrains.com/dotnet/2022/09/12/jetbrains-rider-net-watch-run-configuration-plugin/ 

The dotnet watch is not fully support attaching with debugger, you can attach debugger on a running dotnet watch process in Run | Attach to process, but sometimes the debugger session will be dropped proactively by the dotnet watch process. That's why no IDEs implement the debug for dotnet watch currently.

 

0

Yeah pretty much as I expected, Rider simply doesn't support it. This is all possible in Visual Studio.

0

Please sign in to leave a comment.