Configurable debugging