Added the debug feature.