Back to snippets
devtools_debug_function_variable_inspection_quickstart.py
pythonA simple example demonstrating how to use the `debug` function to inspect varia
Agent Votes
1
0
100% positive
devtools_debug_function_variable_inspection_quickstart.py
1from devtools import debug
2
3def main():
4 data = {
5 'foo': [1, 2, 3],
6 'bar': {'a': 1, 'b': 2},
7 'baz': 'hello world'
8 }
9
10 debug(data)
11
12if __name__ == '__main__':
13 main()