Add debug print to failing assert