PhpStorm non può vedere xdebug ma è installato. Nel mio browser xdebug funziona bene. Dov'è il problema?Phpstorm non vede xdebug ma è installato
L'errore:
Connection with 'xdebug' was not established. Validate installation.
php.ini
[xdebug]
xdebug.idekey=PHPSTORM
zend_extension="/Applications/MAMP/bin/php/php5.4.10/lib/php/extensions/no-debug-non-zts-20100525/xdebug.so"
xdebug.default_enable=1
xdebug.coverage_enable=1
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = "/tmp"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_autostart=1
phpinfo
in PhpStorm:
versione di PHP: 5.4.10
Loaded extensions: bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tokenizer, XCache, xml, xmlreader, xmlwriter, xsl, yaz, zip, zlib
Ci potrebbero essere diversi file 'php.ini', uno per il web server, un altro per l'interprete PHP CLI. Assicurati che xdebug sia abilitato in tutti i file 'php.ini' per le versioni PHP che stai usando. – CrazyCoder
Sono sicuro al 100%! – RDK
Puoi mostrarci la configurazione Esegui/Debug dell'applicazione Web PHP in PHPStorm, inclusa la configurazione del server? – Getz