Staging debugging