How to run Panel app in Pycharm debug mode?
I’m not a PyCharm user. I’m a VS Code user. I think you can do what I do
I just insert a
breakpoint() in the code then
panel serve app.py --autoreload from the command line. If you are used to this workflow its quite efficient.
If you use
app.show() on your one component or template then everything works just as a normal
python script. I.e. when you click debug pycharm will perform its magic and run
python .... behind the scenes. If you added a breakpoint in PyCharm to some line, the debugger should stop there.
At least this can be done in VS Code. See FR #2833
Please upvote FR #2833 if you would like a how-to debug guide added to the Panel docs.
Thank you Marc