Make PRI debug work when verbosity = 0 (bug #2645)