It would be handy to automatically call $DB::single = 1 when test fail STOP_WHEN_FAIL=1 perl -d t/some_test.t This brings me at problem place precisely. And allow dig problem without interruption