When I issue the Emacs command
M-x pdb it invokes Python’s
python -m pdb foo.py. I want to instead invoke
python3 -m pdb foo.py -- how do I set this up?
At least in emacs 27, this is controlled by the customization
The easy way to set it is to invoke
pdb once, to get past any autoload issues, then
gud_pdb_command_name then fill in the command desired and choose
Apply to try it out or
Apply and Save to have it stored for future use.