-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
33 lines (25 loc) · 923 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
passenger_debugger===============
Restart passenger in debug model
== INSTALL:
gem install redinger-passenger_debugger -s http://gems.github.com
In development.rb add:
config.gem 'redinger-passenger_debugger', :lib => 'passenger_debugger'
In your Rakefile add:
require 'passenger_debugger'
Add the following lines to your ~/.rdebugrc
set autoeval
set autolist
set autoreload
== USAGE:
# Restart passenger in debug
rake passenger:debug
# Start loading a web page
# Connect to the remote process
rdebug -c
# Once you exit the debugger, you'll need to restart in debug mode to reconnect
== NOTES:
If you need to exit out of debug mode in a hurry, just remove the tmp/debug.txt file
Pretty much swiped from http://duckpunching.com/passenger-mod_rails-for-development-now-with-debugger
COPYRIGHT
=========
Copyright (c) 2008 Christopher Redinger. See LICENSE for details.