Debug in testing environment