How to debug javascript within the VisualStudio 2017 Django project

Asked 2 years ago, Updated 2 years ago, 97 views

We are developing the Django project using VisualStudio 2017.
I can't debug the javascript that I'm using.
Could you tell me how to enable javascript debugging?

I debugged the javascript code with a breakpoint.
It goes through without stopping there.

In order to proceed with the development, you will be asked if you can perform the steps. I want to find a way to do it somehow because the time it takes will change a lot...
Thank you for your cooperation.

javascript visual-studio django

2022-09-30 14:53

1 Answers

Django runs on a web server, but JavaScript runs on a web browser, so the debugging method is completely different.
Visual Studio can also debug JavaScript along with Web server code in conjunction with ASP.NET, but this feature is not available because the Web server in question, Django, is hosted by Python himself.

Also, since each web browser has a JavaScript debugger that does not depend on a web server, why don't you use a debugger on each web browser instead of on Visual Studio?


2022-09-30 14:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.