[core] don’t print if not in debug mode