[Flask] Flask debug, vscode - attaching firefox

Sayth Renshaw flebber.crue at gmail.com
Mon Sep 16 21:53:37 EDT 2019


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

Sayth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20190917/3b845359/attachment.html>


More information about the Flask mailing list