I don't understand how Javascript debugging is done

I am reading the docs https://www.jetbrains.com/help/idea/configuring-javascript-debugger.html but I am just not understanding what I am supposed to do. I have the Professional version, using Chrome and have the extension installed. When hovering over the icon it says it's connected to PyCharm.

I am then running a Django server configuration on debug mode and setting up a breakpoint in some JS line I know will get executed. Then I'm loading/reloading the page and... nothing happens.

What am I missing?

1 comment

In the  Django Server run configuration you use to start dev server, specify your application URL in a field next to Run browser, tick both Run browser and Start JavaScript debugger automatically checkboxes, run your configuration:

 

0

Please sign in to leave a comment.