Pablo Fischer wrote: >> My understanding is that Cherokee can't do much on that. >> >> I usually have to spread awful things like this along the code I >> need to debug. :-( >> >> echo "<h1>I'm here: val=$val</h1>"; die; >> >> Anyway, I know that Jonathan or Pablo are subscribed to the list, >> (they are the one of best web developers I have ever met..) so >> hopefully they will have some tricks and advices ;-) > > > Here I am ;-) > > Alo is right, Cherokee doesn't provides a good debugger for web > applications and this is understandable, adding a debugger to > Cherokee will make it a bit slower and we don't want that ;-).
Indeed! :-) If we figure out how to implement something useful for this kind of task, it may be something interesting to have in future releases (of course, after the current opened tasks, aka FastCGI). The closest feature I can think of is the CHEROKEE_TRACE tracing facility which is gonna be available in the next release (in has been available in the repository for a couple of weeks), but it is meant to be a help method for Cherokee developers but for web developers. > However not everything is lost. If you are a web developer you can > use some PHP debuggers/profilers. By default they work with Apache > (mod_php4) but they also support php-cgi (using fcgi, in Cherokee). > > I'd suggest you to use: > > xdebug: http://xdebug.org/ > apd (Advanced PHP Debugger):http://apd.communityconnect.com/ > > BTW, here's a tip to debug PHP applications while using (f)CGI: You need > to add the -e flag to enable extra information for profilers/debuggers. Ummm.. pretty interesting, I didn't know about those bits :) -- Greetings, alo. http://www.alobbs.com _______________________________________________ Cherokee mailing list [email protected] http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee
