Add a debug snippet for python. also some commented out code that makes another good snippet