We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 789c6dc commit 1222d90Copy full SHA for 1222d90
1 file changed
bpdb/debugger.py
@@ -44,7 +44,9 @@ def postloop(self):
44
# cmd.Cmd commands
45
46
def do_Bpython(self, arg):
47
- bpython.embed(self.curframe.f_locals, ['-i'])
+ locals_ = dict(**self.curframe.f_globals, **self.curframe.f_locals)
48
+ bpython.embed(locals_, ['-i'])
49
+
50
51
def help_Bpython(self):
52
print("B(python)")
0 commit comments