Skip to content

Commit

Permalink
Added vscode debugger Blueapi Server custom config (#663)
Browse files Browse the repository at this point in the history
Fix #614
  • Loading branch information
Relm-Arrowny authored Oct 30, 2024
1 parent 213fbb9 commit d3a8d9f
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 d3a8d9f

Please sign in to comment.