I can see how to debug python code with pdb in a terminal but I cannot see how to use pdb from within Geany.
The best that I have achieved so far is to add "python3 -m pdb "%f"" to the second line of the build menu. This results is the debugger starting and displaying the first line of the python code. I cannot see how to have the debugger stop on the first line ready for me to enter a pdb command. Instead the code runs to the end.
No doubt I've overlooked something that should be obvious.