ppms.debugging
Die nachfolgenden Inhalte sind nur in englischer Sprache verfügbar.
The debugging
package contains code to facilitate debugging of Python code
- See the Python Debugging topic for more information
Functions
Function | Parameters | Return Value | Description |
---|---|---|---|
ask_for_password() | Password string or None | Ask 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