Add this debug configuration that is going to serve the current file, i.e. the one with .servable()
calls for Panel
or a YAML file for Lumen:
{
"name": "Python: Panel",
"type": "python",
"request": "launch",
"module": "panel",
"args": [
"serve",
"${file}",
],
}