Skip to content

Commit

Permalink
Added debugger Blueapi Server custom config
Browse files Browse the repository at this point in the history
  • Loading branch information
Relm-Arrowny committed Oct 10, 2024
1 parent cd91f0f commit 6ae9d08
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,34 @@
"serve"
]
},
{
"name": "Blueapi Server (Custom Config)",
"type": "debugpy",
"request": "launch",
"justMyCode": false,
"module": "blueapi",
"args": "--config ${input:config_path} serve"
},
{
"name": "Blueapi Controller",
"type": "debugpy",
"request": "launch",
"justMyCode": false,
"module": "blueapi",
"args": "controller ${input:args}"
"args": "controller ${input:controller_args}"
},
],
"inputs": [
{
"id": "args",
"id": "controller_args",
"type": "promptString",
"description": "Arguments to pass to controller",
"default": ""
},
{
"id": "config_path",
"type": "promptString",
"description": "Server config file path",
}
]
}
}

0 comments on commit 6ae9d08

Please sign in to comment.