Rider Javascript chrome debugging not working
Answered
Hello,
When debuggiing Javascript for a .NET MVC 5 application, the breakpoint set in Javascript are never hit.
I have the plugin in Rider enabled.
I have the chrome extension installed in the browser which I have used with WebStorm
( plugin JetBrains IDE Support 2.0.9).
I configured the Run/Debug Configuraiton to use port 45003 and checked the "with Javascript Debugger" checkbox.
However, my breakpoint is never hit in the js code.
Can you help please?
Thanks,
bruce radtke
Please sign in to leave a comment.
Hi, Bruce.
You need to add one more run configuration for javascript debugger.
To do this
1) go to the menu Run | Edit Configuration
2) in that window, you need to create "JavaScript Debug" configuration
After that, you will see this configuration in the drop-down in the Top Right Corner
3) Run debugger session of your backend application (Default).
4) Run debugger session of the created configuration (JavaScript Debugger)
Breakpoints should work.
I hope, this helps.
But if you have other questions, please let me know.
Kind Regards,
Sofya