Reference debug