Permalink
Browse files

cookie should be named XDEBUG_SESSION

I spent several hours searching why Xdebug was not working on my computer and this is because the documentation was confusing and we might think the cookie should be named XDEBUG_SESSION_START instead of XDEBUG_SESSION.
People will not necessarily read point 3 if they want to set the cookie manually in the browser console instead of using browser extensions (which are not supported in Firefox Quantum).
  • Loading branch information...
baptx committed Dec 13, 2017
1 parent 100f012 commit 968ba72c08cdd092b292900d852fa9dac0638145
Showing with 1 addition and 1 deletion.
  1. +1 −1 html/docs/include/features.php
@@ -1125,7 +1125,7 @@ function calls but also function calls made more levels up and down.
<li>If you want to debug a script started through a web browser, simply add
<code>XDEBUG_SESSION_START=session_name</code> as parameter to the URL.
Instead of using a GET parameter, you can also set XDEBUG_SESSION_START as a
POST parameter, or through a cookie. Refer to the <a
POST parameter, or through a cookie named XDEBUG_SESSION. Refer to the <a
href="#browser_session">next section</a> to read on how debug sessions work
from within a browser window.</li>

0 comments on commit 968ba72

Please sign in to comment.