Phpstorm Xdebug setup issues

Hi all,

Not sure what I'm doing wrong. Trying to use Xdebug. I get the following in my event log:

10:51:57 AM Connection with 'xdebug 2.4.0RC3' was not established. Validate installation.
10:51:59 AM Cannot parse configuration file

I get the following when trying to validate.

phpstorm xdebug validate picture.png

In my php.ini file I've uncommented the following:

[XDebug]
; Only Zend OR (!) XDebug
zend_extension="C:/Bitnami/wappstack-5.5.30-0/php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir=C:\Windows\Temp

;extension=php_v8js.dll
;extension=php_couchbase.dll
;extension=php_mongo.dll
;extension=php_pdo_ibm.dll

zend_extension = C:\Bitnami\wappstack-5.5.30-0\php\ext\php_xdebug-2.4.0rc3-5.5-vc11.dll
xdebug.remote_enable=1

2 comments
Comment actions Permalink

Hi there,

Not enough info to say anything concrete.

I may only comment on what you have provided in your post:

You have listed xdebug extension twice:

zend_extension="C:/Bitnami/wappstack-5.5.30-0/php\ext\php_xdebug.dll"
zend_extension = C:\Bitnami\wappstack-5.5.30-0\php\ext\php_xdebug-2.4.0rc3-5.5-vc11.dll

Remove one of them -- only one is required.

I would also suggest to stick to debug 2.3.x if you use PHP v5.x -- it's a bit more stable (as per my experience).

0
Comment actions Permalink

I am running php off the WAPP stack.



the following seems to show php missing.
phpstorm picture.png

PHP Version 5.5.30

System Windows NT PHINEAS629 6.2 build 9200 (Windows 8 Home Premium Edition) i586
Build Date Sep 30 2015 13:44:04
Compiler MSVC11 (Visual C++ 2012)
Architecture x86
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--disable-isapi" "--enable-debug-pack" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=C:\php-sdk\oracle\x86\instantclient10\sdk,shared" "--with-oci8=C:\php-sdk\oracle\x86\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\x86\instantclient11\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--disable-static-analyze" "--with-pgo"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\Bitnami\wappstack-5.5.30-0\php\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)
PHP API 20121113
PHP Extension 20121212
Zend Extension 220121212
Zend Extension Build API220121212,TS,VC11
PHP Extension Build API20121212,TS,VC11
Debug Build no
Thread Safety enabled
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support provided by mbstring
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams php, file, glob, data, http, ftp, zip, compress.zlib, https, ftps, phar
Registered Stream Socket Transports tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.*


Zend logoThis program makes use of the Zend Scripting Language Engine:
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
    with Xdebug v2.4.0RC3, Copyright (c) 2002-2015, by Derick Rethans
0

Please sign in to leave a comment.