Answer the question
In order to leave comments, you need to log in
How to debug javascript in Pycharm when running a Django project?
I decided to try Pycharm, there were no problems with the Django project, everything is super and convenient.
But with js, not so much. Could you help in using the debugger?
ps. Javascript uses html constants obtained through the Django template engine. Yes, there are templates included. (I mean, you can't just specify an html template for the js debugger).
pps About firebug and devtools in the course - maybe they are enough? or js IDEA debugger has its own advantages?
Answer the question
In order to leave comments, you need to log in
Javascript uses constants from html, obtained through the Django templating engine
. Don't do it like that. If there is no desire or need to receive data for JS through AJAX requests, then it is better to insert your values into data attributes, and then get them with JS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question