Fixes an edge case where the actor doesn't start because no toolkits are installed in the local environment, but `arcade dev` keeps waiting for a healthy actor.
65 lines
1.8 KiB
JSON
65 lines
1.8 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug examples/fastapi",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"module": "uvicorn",
|
|
"args": [
|
|
"main:app",
|
|
"--app-dir",
|
|
"${workspaceFolder}/examples/fastapi/arcade_example_fastapi",
|
|
"--port",
|
|
"8002"
|
|
],
|
|
"jinja": true,
|
|
"justMyCode": true,
|
|
"cwd": "${workspaceFolder}/examples/fastapi/arcade_example_fastapi"
|
|
},
|
|
{
|
|
"name": "Debug `arcade actorup --no-auth`",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/arcade/run_cli.py",
|
|
"args": ["actorup", "--no-auth"],
|
|
"console": "integratedTerminal",
|
|
"jinja": true,
|
|
"justMyCode": true,
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Debug `arcade chat -s -h localhost`",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/arcade/run_cli.py",
|
|
"args": ["chat", "-s", "-h", "localhost"],
|
|
"console": "integratedTerminal",
|
|
"jinja": true,
|
|
"justMyCode": true,
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Debug `arcade dev`",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/arcade/run_cli.py",
|
|
"args": ["dev"],
|
|
"console": "integratedTerminal",
|
|
"jinja": true,
|
|
"justMyCode": true,
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
{
|
|
"name": "Debug `arcade evals -d` on current file",
|
|
"type": "python",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/arcade/run_cli.py",
|
|
"args": ["evals", "-d", "${fileDirname}", "-h", "localhost"],
|
|
"console": "integratedTerminal",
|
|
"jinja": true,
|
|
"justMyCode": true,
|
|
"cwd": ""
|
|
}
|
|
]
|
|
}
|