<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -48,6 +48,10 @@ opts = OptionParser.new do |opts|
   opts.separator '*'*80
 
   setup_mapper_options(opts, options)
+  
+  opts.on(&quot;--thin-debug&quot;, &quot;Set the equivalent of the '--debug' flag on the Thin webserver.&quot;) do
+    options[:thin_debug] = true
+  end
 end
 
 opts.parse!
@@ -55,5 +59,7 @@ opts.parse!
 EM.run do
   Nanite.start_mapper(options)
   Nanite::Log.info &quot;starting nanite-admin&quot;
-  Rack::Handler::Thin.run(Nanite::Admin.new(Nanite.mapper), :Port =&gt; 4000)
+  Rack::Handler::Thin.run(Nanite::Admin.new(Nanite.mapper), :Port =&gt; 4000) do
+    Thin::Logging.debug = options[:thin_debug]
+  end
 end
\ No newline at end of file</diff>
      <filename>bin/nanite-admin</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>16184233f9f2936388f72df283687ab452409e07</id>
    </parent>
  </parents>
  <author>
    <name>Lee Nussbaum</name>
    <email>wln@scrunch.org</email>
  </author>
  <url>http://github.com/ezmobius/nanite/commit/fdd285d92763399c2379df7c06e9bfd1db7f019a</url>
  <id>fdd285d92763399c2379df7c06e9bfd1db7f019a</id>
  <committed-date>2009-03-12T20:15:39-07:00</committed-date>
  <authored-date>2009-03-12T20:15:39-07:00</authored-date>
  <message>Provide flag to put Thin in debugging mode, for backtrace to console.</message>
  <tree>8c30a7609947c0de2ee411f916d76a3d414f2ad2</tree>
  <committer>
    <name>Lee Nussbaum</name>
    <email>wln@scrunch.org</email>
  </committer>
</commit>
