move the call to setDebug into the same buildmessage that calls getPackageLoader to be safer about ensureDepsUpToDate