Debug-Edit-Save JS code in pycharm-django set up

Can you please suggest how do you guys debug, edit and save JS while running a django dev server in pychram.

For me the routine is somethig like this - 

  1. Write\Edit JS code in Pychame
  2. Start dev server
  3. Open url in broswer
  4. Apply breakpoints in browser & debug
  5. Make suitable changes in JS code via PyCharm (Step 1)
  6. Repeat step 2 to 5

Though the process works, there is a great deal of back and forth that is involved.

I was wodering if there are any better\quicker ways to do this.


1 comment

You can debug javascript right in Pycharm... 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:



Please sign in to leave a comment.