Debug plugin code added