Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default .pdbrc.py folder #35

Open
rafonseca opened this issue Jan 22, 2021 · 1 comment
Open

Change default .pdbrc.py folder #35

rafonseca opened this issue Jan 22, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@rafonseca
Copy link

First of all, thanks for creating/maintaining pdbb. It is great.

I am currently using the debugger inside a docker. For this use case, it would be great if .pdbrc.py was located at the project root instead of home directory.

If you think this is a good idea, I am willing to work on a PR.

@blueyed blueyed added the enhancement New feature or request label Jan 22, 2021
@blueyed
Copy link
Collaborator

blueyed commented Jan 22, 2021

That would be similar to pdb itself looking for .pdbrc in the cwd also.
I think it would be good in general. Look at how pdb handles .pdbrc, so that it behaves the same (IIRC there is a bugfix in this regard for cpython, not sure if merged already).

As for now: you can use a .pdbrc in cwd to load/exec something manually I guess.

As for the issue itself: it should probably get moved to https://github.com/pdbpp/pdbpp, no? (although pdb++ uses fancycompleter.Config - but the plan here is to eventually make fancycompleter an optional dependency only).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants