seems like this should have a big, fat `if (debug)` gating out this call.