Page 1 of 1

PHP postback debugging

Posted: Tue Oct 11, 2016 4:12 am
by jtmurphy1k
Codelite v 9.2.0
Installed via apt install from deb http://repos.codelite.org/debian/ jessie contrib
Debian 8.6 jessie
PHP Version 5.6.26-0+deb8u1
gdb v 7.7.1

I have Codelite properly debugging my PHP code on my localhost web server. If I run a php web page file from Codelite using F5 or the debug play button, debug breakpoints and stepping works fine. Once the web page is rendered in my browser, Codelite exits the debug mode. I would like to enter data on the browser form, submit a postback and continue to debug. The postback form submit does not trigger Codelite into debug mode even though the XDEBUG_SESSION=codeliteide cookie is set. Also port 9000 LISTEN is not active unless debugging is initiated from within Codelite via F5 or the play button. Does Codelite support a postback debug capability?

Re: PHP postback debugging

Posted: Tue Oct 11, 2016 10:10 am
by eranif
jtmurphy1k wrote:Does Codelite support a postback debug capability
No.

Can you post this as a feature request? (should be relatively easy to add support)
https://github.com/eranif/codelite/issues/new
Eran

Re: PHP postback debugging

Posted: Tue Oct 11, 2016 5:44 pm
by jtmurphy1k
Posted. Thanks.