Implement first step in debug tracing