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

support set breakpoints from CLI parameters. #500

Open
yuhuihu opened this issue Jan 3, 2022 · 1 comment
Open

support set breakpoints from CLI parameters. #500

yuhuihu opened this issue Jan 3, 2022 · 1 comment

Comments

@yuhuihu
Copy link

yuhuihu commented Jan 3, 2022

ipdb can be used like this:

ipdb -c 'b FileToSetBreakPoint.py:100' launcher.py
# 100 is line number where breakpoint be set.

So Should we pass the parameter "-c" to pdb ?

Then we can use pudb with shell script.

@inducer
Copy link
Owner

inducer commented Jan 3, 2022

Sure, that sounds like a reasonable request. I'd be happy to take a PR. I also recall that this is not the first time that this has been requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants