[Flask] Flask debug, vscode - attaching firefox

Geert Stappers stappers at stappers.nl
Tue Sep 17 00:48:51 EDT 2019


On Tue, Sep 17, 2019 at 11:53:37AM +1000, Sayth Renshaw wrote:
> Hi
> 
> I am hoping others are using vscode with flask.
> having trouble melding 2 doc pages. My goal is to launch the debugger for
> flask and open in firefox.
> 
> I have setup launch as in the vscode article.
> 
> {
>     "version": "0.2.0",
>     "configurations": [
>         {
>             "name": "Python: Flask",
>             "type": "python",
>             "request": "launch",
>             "module": "flask",
>             "env": {
>                 "FLASK_APP": "app.py",
>             },
>             "args": [
>                 "run",
> 
>             ],
>             "jinja": true
>         },
>     ]
> }
> 
> However, I cannot get firefox to attach as well, as its a different type.
> Has anyone set this up?
> 
> Docs referred to:
> firefox debug
> https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug
> 
> Vscode debug -
> https://marketplace.visualstudio.com/items?itemName=firefox-devtools.vscode-firefox-debug
> 

Why the duplicate URL when the label differ?


Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Flask mailing list