https://pantsbuild.org/ logo
#general
Title
# general
g

glamorous-accountant-97217

12/10/2022, 1:29 PM
@happy-kitchen-89482 one more question-- I can debug my service pex with ipdb
ipdb.set_trace()
but normally (outside of pants and this project entirely) i have
PYTHONBREAKPOINT=ipdb.set_trace
in my envrionment and
breakpoint()
automatically gives me ipdb instead of pdb. this isn’t working with my pex and I’m stumped. At the point where I run
ipdb.set_trace()
I print
os.environ["PYTHONBREAKPOINT"]
and it’s
ipdb.set_trace
. let me see if I can make a tiny repro repo