Add a debug mode for tracing bearwall or ruleset errors.