<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Passenger (mod_rails) for development. Now with debugger!</title>
	<atom:link href="http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/feed" rel="self" type="application/rss+xml" />
	<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger</link>
	<description>Ruby, Rails and tech. No ducks were harmed in the making of this blog.</description>
	<lastBuildDate>Thu, 24 Dec 2009 20:37:45 +1100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: The World Is Just A&#8230; &#187; Debugging rails (in mongrel and passenger)</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-95</link>
		<dc:creator>The World Is Just A&#8230; &#187; Debugging rails (in mongrel and passenger)</dc:creator>
		<pubDate>Thu, 24 Dec 2009 20:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-95</guid>
		<description>[...] wait, there is hope: here is a great post on how to debug remotely using ruby-debug. The other option that i tried was using [...]</description>
		<content:encoded><![CDATA[<div style="background-color: #999999; color: #333333;">
<p>[...] wait, there is hope: here is a great post on how to debug remotely using ruby-debug. The other option that i tried was using [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: rails passenger development environment &#124; NoteIt!</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-94</link>
		<dc:creator>rails passenger development environment &#124; NoteIt!</dc:creator>
		<pubDate>Wed, 16 Dec 2009 06:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-94</guid>
		<description>[...] 下面比较一下二者： 1. 同时对多个本地app进行开发时，passenger比webrick好。因为不需要对于每个app都开一个webrick server，而且对于每个server还需要指定不同的port。 2. 在查看request的信息方面，passenger和webrick差不多。webrick是直接在terminal中显示每个request的信息;而在使用passenger时，则可以通过动态显示development.log的方式进行查看。 3. 在debug方面，webrick会比passenger方便些。在使用webrick时，只需要使用u option来启动server，那么app就会在运行时中断在程序中写有debugger语句的地方。可是，在使用passenger时，debug可能会比较麻烦。目前看到的有两种方式，一种是通过使用remote debug的方式，具体可以参考Passenger (mod_rails) for development. Now with debugger! 。另一种是使用rack-debug，它是一个ruby-debug的interface，其使用方式和webrick没有多大区别，但是唯一一点令我难受的时，对于每个rails app，都需要添加一个middleware来实现rack-debug的功能，但是由于可以通过version control在真正的app里过滤掉这些文件，其实并没有多大影响。 [...]</description>
		<content:encoded><![CDATA[<div style="background-color: #999999; color: #333333;">
<p>[...] 下面比较一下二者： 1. 同时对多个本地app进行开发时，passenger比webrick好。因为不需要对于每个app都开一个webrick server，而且对于每个server还需要指定不同的port。 2. 在查看request的信息方面，passenger和webrick差不多。webrick是直接在terminal中显示每个request的信息;而在使用passenger时，则可以通过动态显示development.log的方式进行查看。 3. 在debug方面，webrick会比passenger方便些。在使用webrick时，只需要使用u option来启动server，那么app就会在运行时中断在程序中写有debugger语句的地方。可是，在使用passenger时，debug可能会比较麻烦。目前看到的有两种方式，一种是通过使用remote debug的方式，具体可以参考Passenger (mod_rails) for development. Now with debugger! 。另一种是使用rack-debug，它是一个ruby-debug的interface，其使用方式和webrick没有多大区别，但是唯一一点令我难受的时，对于每个rails app，都需要添加一个middleware来实现rack-debug的功能，但是由于可以通过version control在真正的app里过滤掉这些文件，其实并没有多大影响。 [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: http://duckpunching.com/passenger-mod_ra&#8230; &#171; bst On Web Dev</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-93</link>
		<dc:creator>http://duckpunching.com/passenger-mod_ra&#8230; &#171; bst On Web Dev</dc:creator>
		<pubDate>Mon, 19 Oct 2009 14:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-93</guid>
		<description>[...]  2:55 pm on October 19, 2009  Reply   Tags: debugging, rails (69), tutorials (5)    http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger &#8211; Passenger (mod_rails) for development. Now with debugger!   [...]</description>
		<content:encoded><![CDATA[<div style="background-color: #999999; color: #333333;">
<p>[...]  2:55 pm on October 19, 2009  Reply   Tags: debugging, rails (69), tutorials (5)    <a href="http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger" rel="nofollow">http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger</a> &#8211; Passenger (mod_rails) for development. Now with debugger!   [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-91</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 07 Sep 2009 04:19:35 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-91</guid>
		<description>Very useful information. Thank you!.
I am from Zimbabwe and too bad know English, tell me right I wrote the following sentence: &quot;During 1658-59 it glanced a different customer by the crowds under charles x and well came a electronic city.&quot;

Waiting for a reply :-(, Charles.</description>
		<content:encoded><![CDATA[<p>Very useful information. Thank you!.<br />
I am from Zimbabwe and too bad know English, tell me right I wrote the following sentence: &#8220;During 1658-59 it glanced a different customer by the crowds under charles x and well came a electronic city.&#8221;</p>
<p>Waiting for a reply <img src='http://duckpunching.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> , Charles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to set up a debugger with mod_rails/Passenger</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-87</link>
		<dc:creator>How to set up a debugger with mod_rails/Passenger</dc:creator>
		<pubDate>Tue, 28 Apr 2009 09:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-87</guid>
		<description>[...] file, the nicest way I&#8217;ve found to switch on the debugger comes from the ominously titled duck_punching weblog. It involves adding a rake task to create a debug.txt text file, and adding a snippet of [...]</description>
		<content:encoded><![CDATA[<div style="background-color: #999999; color: #333333;">
<p>[...] file, the nicest way I&#8217;ve found to switch on the debugger comes from the ominously titled duck_punching weblog. It involves adding a rake task to create a debug.txt text file, and adding a snippet of [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Continuing Adventures in Technology&#8230; &#187; links for 2009-04-06</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-86</link>
		<dc:creator>My Continuing Adventures in Technology&#8230; &#187; links for 2009-04-06</dc:creator>
		<pubDate>Mon, 06 Apr 2009 18:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-86</guid>
		<description>[...] duck_punching » Passenger (mod_rails) for development. Now with debugger! (tags: ruby rails development programming apache tool passenger debug) [...]</description>
		<content:encoded><![CDATA[<div style="background-color: #999999; color: #333333;">
<p>[...] duck_punching » Passenger (mod_rails) for development. Now with debugger! (tags: ruby rails development programming apache tool passenger debug) [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Dollar</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-81</link>
		<dc:creator>David Dollar</dc:creator>
		<pubDate>Thu, 11 Dec 2008 20:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-81</guid>
		<description>I put together a Rails plugin to make using the ruby debugger under Passenger a lot easier.

Check it out  http://github.com/ddollar/socket-debugger</description>
		<content:encoded><![CDATA[<p>I put together a Rails plugin to make using the ruby debugger under Passenger a lot easier.</p>
<p>Check it out  <a href="http://github.com/ddollar/socket-debugger" rel="nofollow">http://github.com/ddollar/socket-debugger</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Fortuna</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-80</link>
		<dc:creator>Adam Fortuna</dc:creator>
		<pubDate>Thu, 27 Nov 2008 17:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-80</guid>
		<description>Awesome work. Just what I was looking for.

Just a note for anyone getting errors though -- I had to update my ruby-debug gem to get this working. Before that I was able to start the server, and it would pause at a breakpoint, but when I connected to the server it would show an error (in terminal) and continue. After upgrading the gem it worked like a charm though!</description>
		<content:encoded><![CDATA[<p>Awesome work. Just what I was looking for.</p>
<p>Just a note for anyone getting errors though &#8212; I had to update my ruby-debug gem to get this working. Before that I was able to start the server, and it would pause at a breakpoint, but when I connected to the server it would show an error (in terminal) and continue. After upgrading the gem it worked like a charm though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yong Bakos</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-78</link>
		<dc:creator>Yong Bakos</dc:creator>
		<pubDate>Wed, 29 Oct 2008 16:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-78</guid>
		<description>Actually, those should be &quot;= 1&quot; not &quot;= true&quot; and depending on your version of rdebug the autoreload setting may not be available.</description>
		<content:encoded><![CDATA[<p>Actually, those should be &#8220;= 1&#8243; not &#8220;= true&#8221; and depending on your version of rdebug the autoreload setting may not be available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yong Bakos</title>
		<link>http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger/comment-page-1#comment-77</link>
		<dc:creator>Yong Bakos</dc:creator>
		<pubDate>Wed, 29 Oct 2008 16:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://duckpunching.com/?p=17#comment-77</guid>
		<description>Thanks Adam, those config options are a great help.

Note that you can also set these in environment.rb like so:

Debugger.settings[:autoeval] = true
Debugger.settings[:autolist] = true
Debugger.settings[:autoreload] = true</description>
		<content:encoded><![CDATA[<p>Thanks Adam, those config options are a great help.</p>
<p>Note that you can also set these in environment.rb like so:</p>
<p>Debugger.settings[:autoeval] = true<br />
Debugger.settings[:autolist] = true<br />
Debugger.settings[:autoreload] = true</p>
]]></content:encoded>
	</item>
</channel>
</rss>
