gwomacks/php-debug

php-debug 0.3.3 with atom-ide-debug 1.0.1 no longer works at all

Closed this issue · 11 comments

php-debug recently updated itself to 0.3.3 and said that atom-debug-ui 1.0.1 was necessary. I installed both, and now php-debug no longer functions properly. I'm running Atom 1.26.1

Specifically, While I can set a breakpoint, and execution stops when a breakpoint is hit, "stepping over" essentially causes execution to start to "run", but no other stopping occurs, and more annoyingly, the executing script never terminates. Its as if execution has stopped, as if at the next "breakpoint" (i.e the following line of code), but Atom is showing as if "continue" was clicked.

Detaching sometimes allows execution to resume, but sometimes not, and I must quit atom/Chrome.

Any ideas or help would be appreciated, as I'm unable to do any debugging...

Thanks

PS cross posting this to php-debug as well

@rotorboy Can you enable Xdebug DBGP Protocol Debugging in the settings and then send me a copy of your atom debug log with logging set to verbose and all console lines expanded?

Depending on OS you should be able to open it from View -> Developer ->Toggle Developer Tools. Then go to the console.

I have the same problem as well, with php-debug 0.3.3 and atom 1.26.1.
My debug output: gist
Everything before "now clicking on Step Over" is from starting the request in the browser to stopping at the breakpoint.
After that is when I clicked on Step Over.
This disables the Continue/Step Over etc buttons, only Stop and Detach remain clickable. But the line of the break point is still highlighted and the browser is still stuck loading.

Thanks for the debugging information v0.3.4 just landed which should hopefully take care of it.

It sounds like what you're describing is the Debugger recently added to atom-ide-ui, unfortunately this is not used by and not compatible with PHP-Debug. I think you can turn it off entirely via Settings->atom-ide-ui->Enabled Features->Enable Debugger->Never enabled.

Path maps are for mapping between files on your local host and remote code being debugged on another server. If you are just debugging locally they should auto populate and you shouldn't need to worry about them.

For the multi-session support if the option is enabled in the settings whenever another debug session is started (apache/php-cli/etc) it should open new windows automatically in atom. If this is not working you may need to investigate your xdebug version/settings.

With v0.3.4 debugging is now working on my system as well, thanks.

I'm also finding it very confusing with three different debug packages and nothing seems to work anymore.

I tried disabling the atom-ide-ui but now I can't make breakpoints with the mouse. I use the context menu but the xdebug no longer works!

Can we have things back to how they were please?

Is there a way to install the OLD PHP-Debug package?