There are various debug things you can turn on, such as the race detector, the memory sanitizer, or coverage tracking.