added a remote debugging check for allowed ip addresses