Added debug flag to build command