Improved serial debugging