MantisBT - Xdebug
View Issue Details
0001561XdebugDocumentationpublic2018-07-01 02:032018-07-09 11:37
resolvedno change required 
Windows 10Windows 10Windows 10
Windows 10
0001561: What do I do now?
I love the phpinfo-based installation instructions. But what do I do now? Where is the list of debugger commands, if any?

Specifically, my PHP program is looping. How do I interrupt the loop to examine where it is looping?
Download and install php_xdebug-2.6.0-7.0-vc14.dll in the ext folder. Now what to do? Documentation doesn't seem to help.
I've been programming in PHP for many years, but could use some help in debugging, particularly when the program loops forever.

No tags attached.
Issue History
2018-07-01 02:03David536New Issue
2018-07-09 09:35derickNote Added: 0004678
2018-07-09 09:35derickStatusnew => resolved
2018-07-09 09:35derickResolutionopen => no change required
2018-07-09 09:35derickAssigned To => derick
2018-07-09 11:30David536Note Added: 0004679
2018-07-09 11:37derickNote Added: 0004680

2018-07-09 09:35   
In general, you need an IDE to interact with Xdebug to debug. PhpStorm will give you the best results.

As this bug tracker is not a support forum, I'd like to point you to:
- [^]
- [^]
2018-07-09 11:30   
The public XDebug descriptions should be changed to make it clear that it is not a stand-alone debugger, so people don't waste their time with it.

I've looked into PHPStorm in the past, and it costs way too much for our nonprofit charity to afford.

My workaround is to continue my own tool development. Yesterday I wrote a function to add the PHP Backtrace in clear, readable form to my general logging function.

I understand that a bug reporting tool is not a forum for support. You really need to improve your external descriptions of XDebug so people will understand its surprising limitations. Just my opinion.
2018-07-09 11:37   
Literally the first thing on the website ( [^]):


Xdebug is an extension for PHP to assist with debugging and development. It contains a single step debugger to use with IDEs;"…