MDL-38041 behat: Capturing also PHP debug messages