Improve crt debugging

Documentation and release notes will be coming later. The commits here are an improvement over the status quo.