Explain your approach to debugging an automated script that fails in a production-like environment at Bleckmann.