Remove 'debug' plugin related code.
Remove reference to removed function.