https://github.com/spacewander/debugger-utils
http://python.jobbole.com/85415/
https://segmentfault.com/a/1190000005367875