Debugging
Last updated
Was this helpful?
Last updated
Was this helpful?
Use the help()
function to view documentation for a given type of object or datatype:
Use the dir()
function to see what methods you can call on a given object.
Reference: .
As of a recent version of Python, you should be able to use the built-in breakpoint()
function to drop an interactive breakpoint on any line of code. Once you run the script, it will stop at the breakpoint to facilitate further investigation: