Pregunta de entrevista de Handshake

How does one debug race conditions?