Skip to content

Commit

Permalink
✨ use ipdb from pdb
Browse files Browse the repository at this point in the history
  • Loading branch information
MeditationDuck committed Sep 13, 2024
1 parent 1ca5c5a commit 928f2d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wake/testing/custom_pdb.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import pdb
import sys
from IPython.terminal.debugger import TerminalPdb # Import the correct Pdb class

class CustomPdb(pdb.Pdb):
class CustomPdb(TerminalPdb):
def __init__(self, prev_stdin, conn, *args, **kwargs):
"""
Custom Pdb constructor to accept the stdin and connection.
Expand Down

0 comments on commit 928f2d0

Please sign in to comment.