Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP postback debugging request #1444

Closed
jtmurphy1k opened this issue Oct 11, 2016 · 3 comments
Closed

PHP postback debugging request #1444

jtmurphy1k opened this issue Oct 11, 2016 · 3 comments

Comments

@jtmurphy1k
Copy link

Codelite is an excellent interface for PHP web site development that would be even better if debugging could be continued from a web page postback.

@eranif
Copy link
Owner

eranif commented Nov 9, 2016

Do you mean: writing something like this in the browser:

http://localhost/test.php?XDEBUG_SESSION_START=codeliteide

and CodeLite will start debugging?

@jtmurphy1k
Copy link
Author

Using the XDEBUG parameter in the browser url still does not toggle CodeLite to listen for the debug request. My browser (Iceweasel) passes the codeliteide cookie back to the server just fine. It appears that CodeLite only listens for the web server debug request when the hit request (F5) is initiated from within the CodeLite IDE. Once the initial page is debugged within the CodeLite IDE (works great) and the web page is returned to the browser, subsequent postbacks initiated from the browser will not toggle CodeLite into debugging because CodeLite is no longer listening for debug requests. I would like a way to toggle the CodeLite IDE into listening for web server debug requests other than the IDE F5 key or green play arrow. I believe MS Visual Studio solves this with a built-in IDE browser that is integrated with the IDE debugger.

@eranif
Copy link
Owner

eranif commented Nov 9, 2016

You answered my question.
I know it does not work in the version you have, I just committed this today (wanted to confirm that this is what you expected)

I added new button in the workspace view, when clicked, CodeLite will start listening for new connections from the debugger (initiated by the browser)
php-server-side-debugger

Calling the URL with the cookie XDEBUG_SESSION_START will be captured by CodeLite

@eranif eranif closed this as completed Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants