Update new_debugger.py

more dynamically