Frage

I'm having a very hard time getting a breakpoint to hit in some php code. I don't do much php so might be newbie error.

I've read though the other questions, PDT Install Instructions, and XDebug Install Instructions

For both debuggers, the instructions expect a config section to show up in the phpinfo() and it doesn't for me.

Some info about my current setup

  • Windows
  • AMPPS
  • PHP 5.2.17
  • Website runs fine

I need some help with things to check or ideas what I might need to do differently.

I'm stuck pretty much for now.

War es hilfreich?

Lösung 2

Two main things that fixed my issues.

  1. Turned off Iron PHP Loader
  2. copied the non-ts XDebug .dll, even though the php config shows thread safe = enabled. This dll seems to work

The config settings are below for reference:

;Stuff to allow debugging in eclipse 
zend_extension="C:\Program Files (x86)\Ampps\php\ext\php_xdebug-2.2.3-5.3-vc9.dll"
xdebug.remote_enable=On
xdebug.remote_autostart=On
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_mode=req

You do have to make sure and add the extra xdebug configurations or eclipse won't cooperate.

Andere Tipps

You can follow this post to install Xdebug for PHP in AMPPS.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top