Add `isDebug` method to Assets helper.