If you continue to have problems with removal of the driveragent potentially unwanted application, reset your Microsoft Edge browser settings. Click the Edge menu icon (at the top right corner of Microsoft Edge) and select Settings.
webdriveragent port != webkit debug proxy port
In the driver supplied with Appium 2 there is no need to explicitly provide the debug proxy port anymore so the corresponding setting has been removed as obsolete.