Join Slack
Powered by
Hi, is there a way to use <pdb> with recent Dagste...
# ask-community
c
Chris Histe
02/20/2023, 9:32 PM
Hi, is there a way to use
pdb
with recent Dagster version. I found
ForkedPdb().set_trace()
but I couldn’t make it work locally. It seems to be blocking the process but the REPL doesn’t start. Documentation is also
missing
. Thanks in advance
dagster bot responded by community
2
d
Daniel Mosesson
02/20/2023, 11:14 PM
if this is outside of dagit, there are two options (inside of dagit, I don't really know of any): 1. python -m pdb <yourmodule> 2. call
breakpoint()
from your code, it will drop you right into pdb at that location
c
Chris Histe
02/22/2023, 1:39 PM
I see, thanks I will try that next time 🙂
9
Views
Open in Slack
Previous
Next