Staging: this is not the live site, pydocs.org.
Set the global debug tracing function.
It will be called on each function call. See the debugger chapter
in the library manual.
The official docs include a CPython implementation detail for this entry.
Changed in 3.7
- 3.7: 'opcode' event type added; f_trace_lines and f_trace_opcodes attributes added to frames