check for need to clear cache even in EMCC_DEBUG=1 mode, which forces sanity checks