Python
Debugging
Manhole
Access get a python REPL on existing process
GH
https://github.com/ionelmc/python-manhole
Profiling
Memory
Trace memory allocations
https://docs.python.org/3/library/tracemalloc.html
Troubleshooting
Fix encoding in Windows
$ENV:PYTHONUTF8=1
Fix encoding in POSIX
export PYTHONUTF8=1