Fix: Add Debug flag for compilation of wifiDebug() function (#1454)
* Fix: Add Debug flag for compilation of wifiDebug() function
* Update: Add terminal support for wifiDebug
* Update: Debug check position to make sure definition is not nullified to avoid putting checks in all places
* Remove TELNET check as per recommendation