Search code examples
xamppxdebugphpstorm

XAMPP PhpStorm XDebug not stopping on breakpoints


I have a Windows 7 machine with XAMPP(Apache 2.4.4 - Win32 PHP 5.4.16) and PHPStorm 6.0.3 For the life of me I cannot get XDebug working on this machine!! I look at my PHPInfo page: enter image description here

This tells me that I need to download XDebug "PHP 5.4 VC9 TS (64 bit)" I download and copy to produce: C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9-x86_64.dll My PHP.ini has:

[XDebug]
zend_extension_ts = "C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9-x86_64.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 0
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "C:\xampp\tmp"

I re-start XAMPP but the PHPInfo page still does not have XDebug in it?


Solution

  • Answering my own question is not what I wanted to do but here we go. I figured out that I was using XAMPP in 32bit mode - I added echo PHP_INT_SIZE; to the top of my phpinfo.php page and it returned 4 (32 bit) I downloaded "PHP 5.4 VC9 TS (32 bit)" but made my PHP.ini read:

    zend_extension = "C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll" - removing the _ts from zend_extension_ts