Change the option to --debug when the test failed