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

add an option to run eb with a debugger such as pdb #4709

Open
trz42 opened this issue Nov 15, 2024 · 0 comments
Open

add an option to run eb with a debugger such as pdb #4709

trz42 opened this issue Nov 15, 2024 · 0 comments

Comments

@trz42
Copy link

trz42 commented Nov 15, 2024

Sometimes one needs to understand precisely what eb does, determine the values of variables and check the status of the filesystem. While eb can print lots of debug information that may not be enough.

One can run eb with a debugger, for example,

python3 -m pdb -m easybuild.main -S TensorFlow

but it would be more convenient to have a command line option such as --pdb or --debugger=pdb which would then run eb with corresponding arguments.

When running eb with pdb one might want to switch off Rich output (adding --output-style=basic). However, it could also be that running in a tmux session resulted in pdb not accepting commands or not showing them when they were typed.

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

No branches or pull requests

1 participant