# How to enable debugging on the server?

**URL:** <https://www.ruby-forum.com/t/how-to-enable-debugging-on-the-server/179586>\
**Category:** Ruby\
**Created:** [November 29, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/how-to-enable-debugging-on-the-server/179586 "2009-11-29T18:18:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/db5fbb/32.png) [@bryan](https://www.ruby-forum.com/u/bryan)\
**Post date:** [November 29, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/how-to-enable-debugging-on-the-server/179586/1 "2009-11-29T18:18:23Z")

</div>

Wanting to run the script/server in debugger mode, my dialog looked  
like this:

ruby script/server --debugger  
=\> Booting WEBrick  
=\> Rails 2.3.4 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
You need to install ruby-debug to run the server in debugging mode.  
With gems, use 'gem install

OK, so I installed:

sudo gem install ruby-debug  
Password:  
Successfully installed ruby-debug-0.10.3  
1 gem installed  
Installing ri documentation for ruby-debug-0.10.3…  
Installing RDoc documentation for ruby-debug-0.10.3…

Great, so I try again:

ruby script/server --debugger  
=\> Booting WEBrick  
=\> Rails 2.3.4 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
You need to install ruby-debug to run the server in debugging mode.  
With gems, use 'gem install

Hey wait, didn’t I just do that? Yes, I did!

So what gives? Anyone know what I need to do to enable debugging on  
the server?

Bryan L.

---

<div class="post-metadata">

**Author:** ![bryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/db5fbb/32.png) [@bryan](https://www.ruby-forum.com/u/bryan)\
**Post date:** [November 29, 2009, 6:40pm UTC](https://www.ruby-forum.com/t/how-to-enable-debugging-on-the-server/179586/2 "2009-11-29T18:40:29Z")

</div>

Bryan L. wrote:

> Wanting to run the script/server in debugger mode, my dialog looked  
> like this:
> 
> ruby script/server --debugger  
> =\> Booting WEBrick  
> =\> Rails 2.3.4 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
> You need to install ruby-debug to run the server in debugging mode.  
> With gems, use 'gem install
> 
> OK, so I installed:
> 
> sudo gem install ruby-debug  
> Password:  
> Successfully installed ruby-debug-0.10.3  
> 1 gem installed  
> Installing ri documentation for ruby-debug-0.10.3…  
> Installing RDoc documentation for ruby-debug-0.10.3…
> 
> Great, so I try again:
> 
> ruby script/server --debugger  
> =\> Booting WEBrick  
> =\> Rails 2.3.4 application starting on [http://0.0.0.0:3000](http://0.0.0.0:3000)  
> You need to install ruby-debug to run the server in debugging mode.  
> With gems, use 'gem install
> 
> Hey wait, didn’t I just do that? Yes, I did!
> 
> So what gives? Anyone know what I need to do to enable debugging on  
> the server?
> 
> Bryan L.

This is a Rails question. Please take it to the Rails list.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
