gwomacks / php-debug

Atom Text Editor package for PHP debugging
MIT License
119 stars 31 forks source link

debugger doesn't start #192

Closed paolopiccinini closed 7 years ago

paolopiccinini commented 7 years ago

Hi , i've configured php-debug as in the doc. this is my config.cson atom This is my php.ini: zend_extension = D:\XamppAmbient\php\ext\php_xdebug-2.4.1-5.6-vc11.dll xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_connect_back=1 ;Not safe for production servers xdebug.remote_port=9000 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_autostart=true xdebug.idekey=xdebug.atom

i'see atom listening on 9000 netstat and i've setted the breakpoint netstat

I know that xdebug is working (var_dump logs add xdebug info). But debugger doesn't start. I'm working on windows using apache. Can someone help me please?

paolopiccinini commented 7 years ago

I've found the porblem. It is this line in my php.ini ;xdebug.remote_connect_back=true i've commented it and now the debugger is working like a charm. maybe because i'm working on my machine and not on a remote server.

Hope this helps. Thanks