I get this error when using Xdebug version 3 with PhpStorm version 2020.2.4 :
Connection was not established. Cannot start