Remove unused debug handler