0

I was wondering if there is a solution to Debug Django Javascript with in VSCode. VScode Chrome Debuger seems very popular. Is it possible to use that together with Django server enviorment? untill now i tried following setting in my config:

    {
      "name": "Launch Chrome",
      "request": "launch",
      "type": "pwa-chrome",
      "url": "http://localhost:8080",
      "webRoot": "${workspaceFolder}/path/to/static/files"
    },

webRoot
is the same path as my
STATIC_ROOT
constant from
settings.py

Any Ideas? For me the solution does not to be nessesarly the VSChrome-Debugger, I just dont want to debug JS in Chrome directly all the time ^^.

Thanks!!

Anonymous Asked question May 14, 2021