Debug extension