Add a debug dumping script.