The debugging package contains code to facilitate debugging of Python code

Functions

FunctionParametersReturn ValueDescription
ask_for_password()
Password string or NoneAsk the user for a password to use for identification of remote debugging instances
start_remote_debugger(password, show_message=True)password: Password to identify the remote debugger

show_message: True / False

Start the remote Python debugger (rpdb2) with the chosen password. The password must start with a letter and not contain any umlauts. When show_message is True, a message appears to the user, telling him to connect now.

Tip:

  • By default the debugee will wait 30 seconds for the debugger to connect. This can be changed with the global setting debugger_timeout