Doing debugging with debug