aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Atack <jonnyatack@gmail.com>2015-08-17 20:23:26 +0200
committerJon Atack <jonnyatack@gmail.com>2015-08-17 20:23:26 +0200
commit60a31221719680cf89128a33efc0f0682f593bba (patch)
tree568fbae69d8b4b8f1cb6117a6b7764da0393f7eb
parent9356d9674f7723673d67976e5fecfb178c14031c (diff)
downloadrails-60a31221719680cf89128a33efc0f0682f593bba.tar.gz
rails-60a31221719680cf89128a33efc0f0682f593bba.tar.bz2
rails-60a31221719680cf89128a33efc0f0682f593bba.zip
Update the Debugging Rails Guide
[skip ci]. - Update to the current output when running `byebug help`. - Remove the alias `exit` because it does not work and seems to have been removed from Byebug, as confirmed by the source code here: https://github.com/deivid-rodriguez/byebug/blob/master/lib/byebug/comman ds/quit.rb - Added the useful `q!` instead to avoid the "Really quit? (y/n)" prompt.
-rw-r--r--guides/source/debugging_rails_applications.md23
1 files changed, 6 insertions, 17 deletions
diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md
index 44434c164b..c486009741 100644
--- a/guides/source/debugging_rails_applications.md
+++ b/guides/source/debugging_rails_applications.md
@@ -346,22 +346,11 @@ by asking the debugger for help. Type: `help`
```
(byebug) help
-byebug 2.7.0
+ h[elp][ <cmd>[ <subcmd>]]
-Type 'help <command-name>' for help on a specific command
-
-Available commands:
-backtrace delete enable help list pry next restart source up
-break disable eval info method ps save step var
-catch display exit interrupt next putl set thread
-condition down finish irb p quit show trace
-continue edit frame kill pp reload skip undisplay
-```
-
-TIP: To view the help menu for any command use `help <command-name>` at the
-debugger prompt. For example: _`help list`_. You can abbreviate any debugging
-command by supplying just enough letters to distinguish them from other
-commands. For example, you can use `l` for the `list` command.
+ help -- prints this help.
+ help <cmd> -- prints help on command <cmd>.
+ help <cmd> <subcmd> -- prints help on <cmd>'s subcommand <subcmd>.
To see the previous ten lines you should type `list-` (or `l-`).
@@ -773,8 +762,8 @@ environment variable. A specific _line_ can also be given.
### Quitting
-To exit the debugger, use the `quit` command (abbreviated `q`), or its alias
-`exit`.
+To exit the debugger, use the `quit` command (abbreviated to `q`). Or, type `q!`
+to bypass the `Really quit? (y/n)` prompt and exit unconditionally.
A simple quit tries to terminate all threads in effect. Therefore your server
will be stopped and you will have to start it again.