Debug python scripts