![]() |
| local debugger session |
|
Site Admin
|
At the first glance, there should be no problems
|
||||||||||||
|
|
|||||||||||||
|
Thank you. I will continue to work on it
|
||||||||||||
|
|
|||||||||||||
|
Hello ddmitrie, about debugging scripts with php cli (no cgi, no webserver): I have been looking at some source codes (dbg, dbg-cli, sapi/cgi and sapi/cli), and with the help of the current thread I realize how dbg-cli was setting up environment vars and calling the php binary through execve. I might be missing something, but so far, I realized that this method doesn't work with php cli. In DBG source I've found that chk_session_request_post() checks for DBGSESSID in the following php variables: _POST, HTTP_POST_VARS, _COOKIE, and HTTP_COOKIE_VARS But, AFAIK it's not possible to set any of those through command line arguments nor environment when using php cli (I guess only php-cgi incorporates the enviromnent variables), thus the DBG would't be activated. Are the above thoughts correct? If not, the procedure to debug using dbg-cli & php (cli) is the same documented?? Thanks in advance, Thiago Silva |
||||||||||||||||
|
|
|||||||||||||||||
|
Site Admin
|
it was fixed in 2.18.
Starting with this version it's possible to trigger debug session using DBGSESSID in the command line. |
||||||||||||
|
|
|||||||||||||
|
Thanks for the quick answer Is there a date for the open source release of this version? Thanks again Thiago |
||||||||||||||
|
|
|||||||||||||||
|
Site Admin
|
Regarding version 2.18, we have no such plans.
|
||||||||||||
|
|
|||||||||||||
|
Sorry, I wrongly expressed myself (as I noticed there is a version 2.20). I mean, when the next free version will be released? Thiago |
||||||||||||||
|
|
|||||||||||||||
|
Site Admin
|
I'm working on the free version in my free time and would not like to make any commitments. I can only say that it will happen soon. Probably in March.
|
||||||||||||
|
|
|||||||||||||
|
Thanks!!
I appreciate your effort |
||||||||||||
|
|
|||||||||||||
| local debugger session |
|
||
|
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by


RSS2 Feed