Cleaned up debugger message handling