Skip to content
Snippets Groups Projects
launch.json 1.22 KiB
Newer Older
  • Learn to ignore specific revisions
  • {
        // Use IntelliSense to learn about possible attributes.
        // Hover to view descriptions of existing attributes.
        // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
        "version": "0.2.0",
        "configurations": [
            {
    
                "name": "Aura Engine - Run",
    
                "type": "python",
                "request": "launch",
                "program": "${workspaceFolder}/aura.py",
                "console": "integratedTerminal"
    
            {
                "name": "Aura Engine API - Run",
                "type": "python",
                "request": "launch",
                "stopOnEntry": false,
                "program": "${workspaceFolder}/api.py",
                "env": {
    
                    "FLASK_APP": "${workspaceRoot}/api.py",
                    "FLASK_ENV": "development"
    
                },
                "args": [
                    "run"
                ],
                "debugOptions": [
                    "RedirectOutput"
                ]
            },
    
            {
                "name": "Aura Engine - Recreate Database",
                "type": "python",
                "request": "launch",
                "program": "${workspaceFolder}/aura.py",
                "args": ["--recreate-database"],
                "console": "integratedTerminal"