Debugging React which is part of ASP.NET

Hello all,

We have an ASP.NET Core web site where some parts are in Razor webviews, but the newer parts are in React. Currently I'm debugging the React code using Chrome DevTools but I would like to use Rider instead. However, I have followed the instructions as described here and it is not working. One of the reasons why it isn't loading is because the React app isn't running as a separate website but instead it is running as part of the ASP.NET Core site. Is there a way to make the debugger in Rider work with this combination?

1 comment

Hi, if you are using the SPA proxy for your ASP.NET Core application, you can tick on “with JavaScript debugger” selection in the corresponding .NET Run/Debug Configuration.

Rider will start both .NET and JS debuggers in the debugger tool window.


Please sign in to leave a comment.