Fixes two points of feedback: - In terminals that don't support links, we need to print the whole URL as a backup - Just open the browser dammit! -- Wils ### Demo https://github.com/user-attachments/assets/91ced5ef-43d3-45a4-8af7-beb1a7bcde8d
54 lines
1.5 KiB
JSON
54 lines
1.5 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 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": ""
|
|
}
|
|
]
|
|
}
|