gwomacks / php-debug

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

It stopped working #171

Closed techswa closed 6 years ago

techswa commented 8 years ago

php-debug stopped working for some reason after working fine for weeks. I had spent about a day over the last week trying resolve this. I miss having this extension working for me. xDebug works fine when I call it from with the php code. php-debug acts like its working inside of Atom, I can set break points, etc. The two just don't communicate. The config files seem to be correct. I am using local apache and swa/document/sites "php-debug": ServerPort: 9000 PathMaps: [ "remotepath;localpath" "/base/path/on/remote/system;C:\ssd\users\swa\documents\sites" ] ========= php.ini =========== zend_extension=/usr/local/Cellar/php70-xdebug/2.4.0/xdebug.so

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

My question is how do I troubleshoot this? Thanks

cchamplin commented 8 years ago

My first thought would be for you to disable all other third party extensions in Atom and see if it starts working again. There have been a few reports of conflicts.

techswa commented 8 years ago

Already done. I also deleted php-debug and reinstalled it. I can't seem to get the Xdebug log file to function. How did you debug this when you were writing it?

On Jun 19, 2016, at 2:47 PM, Caleb Champlin notifications@github.com wrote:

My first thought would be for you to disable all other third party extensions in Atom and see if it starts working again. There have been a few reports of conflicts.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

techswa commented 8 years ago

Started working again. I have no idea why. If a pattern develops I will report back.

techswa commented 8 years ago

Worked for a couple of hours and then stopped again. I hadn't made any changes to the system.
The debugger works when I place inline breaks, the php-debugger extension allows me to set breakpoints in Atom and start the debugger session. The issue is that the execution never stops. Open to any ideas to track this down. Thanks.

cchamplin commented 8 years ago

Not sure, I have not seen this and I'm uncertain how to reproduce. If you're able to provide any other information on this issue that would be great. Another thing to try would be to disable and reenable the debugging panel, which should stop all execution/listeners