When I run realgud for python debugging, with:
M-x realgud:pdb
I see this prompt:
Run pdb (like this): python -m pdb /home/username/work/place/scratch.py
I'm using a conda environment installed in ./place/environments/default/
, so I'd like to use the python executable at ./place/environments/default/bin/python
This means I have to type out a correction to use a different python:`
Run pdb (like this): /home/username/work/place/environments/default/bin/python -m pdb /home/username/work/place/scratch.py
installed in that directory every time I invoke pdb, which is tedious.
I have multiple projects in
/home/username/work/
So I can't just hard-code /one/, it needs to be configurable---but I'd like something like the following:
- Default to using the last python binary I used but otherwise make me type this once.
- Multi-step dialog, where the first step chooses a python (and defaults to last time).
- Some variable I can set once per project and get picked up
- Being able to tab complete here.
What options do I have to reduce the amount I have to type to change the python invoked?