Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def fn():
pdb_ = PdbTest()
pdb_.set_trace()
x = 1
pdb_.set_trace()
x = 2
pdbpp.enable()
pdb_.set_trace()
return x
def fn():
x = 1
pdbpp.disable()
set_trace_via_module()
x = 2
pdbpp.enable()
set_trace_via_module()
return x