Better Debug Handling.