Re: first php 5 class

From: Date: Wed, 30 Jan 2008 20:34:50 +0000
Subject: Re: first php 5 class
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-268372@lists.php.net to get a copy of this message
On 1/30/08, Nathan Nobbe <quickshiftin@gmail.com> wrote: > what id like to know, since you seem to know so much about the ruby on > rails framework, > is, what sort of debugging support is there? this is a weak spot in > php to be sure. ive > tried multiple clients w/ xdebug w/ marginal success at this point. Rails has support for ruby-debug built-in. gem install ruby-debug to install it. You would then add 'debugger' or 'breakpoint' into the code in question. When execution hits that point your (development) server drops into an IRB session where you would find your entire Rails environment at your fingertips. You can interrogate the get/post data or perform a database query. Whatever you can do in code you can do in irb in real-time, zero limitations. Ruby's IRB itself is a lot of fun even when not debugging: > irb >> 'ruby' > 'php' => true It's like having a shell built directly into the language. -- Greg Donald http://destiney.com/

« previous php.general (#268372) next »