View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000579 | Xdebug | Step Debugging | public | 2010-05-14 09:36 | 2020-03-12 16:51 |
Reporter | ussher | Assigned To | derick | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | won't fix | ||
Product Version | 2.0.0dev | ||||
Summary | 0000579: The ability to start and stop xdebug remote sessions from php code. | ||||
Description | currently it is possible to start an xdebug remote session by adding XDEBUG_SESSION_START to the URL or by a setting in php.ini to always start the remote sessions. It would be nice to have a feature that triggers the remote session to start from within the code. WHY: When trying to debug the returning IPN information from Paypal the IPN is sent behind the scenes, not in the browser. If it was possible to activate a remote debugging session from the code then I could add that to the code that receives the paypal IPN and start debugging from there. Currently it is necessary to turn the debugging session on for everything happening around as well. It would be nice to be able to not debug everything else and just start stuff when the IPN comes back. Thanks. | ||||
Tags | No tags attached. | ||||
Operating System | linux | ||||
PHP Version | 5.3.2 | ||||
|
In the mean time, you can set your debugger client to not stop at first line (only stop at first break) and call xdebug_break() in your IPN script. |
|
I would really like this feature too! Make it similar to Phped's DebugBreak(). Sometimes it's really important that code-execution does not continue if xDebug is unable to connect to the IDE. |
|
Just adding a couple of optional parameters to xdebug_break() would suffice. xdebug_break(true, 'netbeanside') where true is autostart session and second parameter is ide-key. |
|
I think you can already do this with the following settings: xdebug.remote_autostart=1 and then just call xdebug_break(). |
|
How does that work with an xDebug-proxy? xDebug must know which client to contact. |
|
Also, JIT and autostart in a multiuser-environment is not a realistic setup. We actually tried by accident! :) |
|
Another vote for this feature. DebugBreak(1@my_ip_address) is extremely helpful for PayPal IPN testing. Works very well. |
|
I've explained how to do this with xdebug.remote_mode=jit and xdebug_break() already. |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-05-14 09:36 | ussher | New Issue | |
2010-05-14 09:36 | ussher | Operating System | => linux |
2010-05-14 09:36 | ussher | PHP Version | => 5.3.2 |
2010-05-14 09:36 | ussher | Xdebug Version | => 2.0.5 |
2010-10-07 14:02 | jpic | Note Added: 0001579 | |
2011-04-26 11:59 | whitefire | Note Added: 0001727 | |
2011-04-27 10:09 | whitefire | Note Added: 0001728 | |
2011-05-01 21:47 | derick | Note Added: 0001736 | |
2011-05-01 21:47 | derick | Assigned To | => derick |
2011-05-01 21:47 | derick | Status | new => feedback |
2011-05-02 07:28 | whitefire | Note Added: 0001738 | |
2011-10-14 10:12 | whitefire | Note Added: 0001844 | |
2011-10-14 10:12 | whitefire | Note Edited: 0001844 | |
2013-03-29 21:26 | pcunite | Note Added: 0002450 | |
2016-12-04 19:11 | derick | Status | feedback => new |
2016-12-12 00:08 | derick | Note Added: 0004024 | |
2016-12-12 00:08 | derick | Status | new => resolved |
2016-12-12 00:08 | derick | Resolution | open => won't fix |
2020-03-12 16:51 | derick | Category | Feature/Change request => Step Debugging |