View Issue Details

IDProjectCategoryView StatusLast Update
0001983XdebugDocumentationpublic2021-06-17 00:07
Reporterrulatir Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status feedbackResolutionopen 
Summary0001983: Please document the trigger-by-cookie protocol in inundating detail
DescriptionCurrently the step debugging documentation says:

> Browser Application #
>
> The recommended way to initiate a debugging session is by configuring your IDE to accept
> incoming debugging connections, and then use a browser extension which sets the right trigger cookie.
> Browser Extension Initiation
>
> The extensions are:
>
> Xdebug Helper for Firefox (source).
> Xdebug Helper for Chrome (source).
> XDebugToggle for Safari (source).
>
> Each extension adds an icon to your browser where you can select which functionality
> you want to trigger. Xdebug will continue to start debugging for every request as long
> as the debug toggle has been enabled.

This is insufficiently informative. I want to possess the knowledge that will enable me to sculpt the triggering cookie by hand and manually add it to a Postman request. I don't want to **need** to use a browser extension to first generate a profiling request from the browser, capture it in devtols, and only then learn in this roundabout way how the cookie(s) should be formed. I would like this to be explicitly documented.
TagsNo tags attached.
Operating System
PHP Version8.0.0-8.0.4

Activities

exussum

2021-06-14 11:19

reporter   ~0005901

This is in the documentation

https://xdebug.org/docs/step_debug#browser_session

TLDR:
add ?XDEBUG_SESSION_START=xdebug as a GET param, and the session will start and the debug cookie will be set for future use

derick

2021-06-17 00:07

administrator   ~0005908

That's already in the docs: https://xdebug.org/docs/step_debug#start_with_request — if that's not enough, or if you're missing things, can you let me know what that is please?

Issue History

Date Modified Username Field Change
2021-06-11 12:42 rulatir New Issue
2021-06-14 11:19 exussum Note Added: 0005901
2021-06-17 00:07 derick Assigned To => derick
2021-06-17 00:07 derick Status new => feedback
2021-06-17 00:07 derick Note Added: 0005908