Reputation: 701
I'm trying to run test with debug mode in my Laravel project. Tests runs but debug mode fails. I'm using: MAMP PRO 6, PHP 7.4.9, Xdebug v2.9.6, PhpStorm.
What can causes this issue. How to fix it?
During debug mode the following messages occurs:
Connection was not established. Cannot start debugger session with
'Xdebug 2.9.6' Validate installation
and next
Connection was not established.
'Xdebug 2.9.6' extension is installed. Check configuration options. Show phpinfo
phpini:
PHP version: 7.4.9
PHP CLI: /Applications/MAMP/bin/php/php7.4.9/bin/php
PHP CGI: /Applications/MAMP/bin/php/php7.4.9/bin/php-cgi
Loaded Configuration File: /Applications/MAMP/bin/php/php7.4.9/conf/php.ini
Debugger extension: Xdebug 2.9.6
Loaded extensions: bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, intl, json, ldap, libxml, mbstring, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, SimpleXML, soap, sockets, sodium, SPL, sqlite3, standard, tokenizer, xdebug, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib
...
Upvotes: 1
Views: 709