You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/source/debugging_rails_applications.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -436,13 +436,12 @@ It's also possible to use these options together: `backtrace [num] /pattern/`.
436
436
437
437
#### The outline command
438
438
439
-
This command is similar to `pry` and `irb`'s `ls` command. It will show you what's accessible from you current scope, including:
439
+
This command is similar to `pry` and `irb`'s `ls` command. It will show you what's accessible from the current scope, including:
440
440
441
441
- Local variables
442
442
- Instance variables
443
443
- Class variables
444
444
- Methods & their sources
445
-
- ...etc.
446
445
447
446
```rb
448
447
ActiveSupport::Configurable#methods: config
@@ -472,7 +471,7 @@ class variables: @@raise_on_missing_translations @@raise_on_open_redirects
472
471
473
472
### Breakpoints
474
473
475
-
There are many ways to insert and trigger a breakpoint in the debugger. In additional to adding debugging statements (e.g. `debugger`) directly in your code, you can also insert breakpoints with commands:
474
+
There are many ways to insert and trigger a breakpoint in the debugger. In addition to adding debugging statements (e.g. `debugger`) directly in your code, you can also insert breakpoints with commands:
476
475
477
476
-`break` (or `b`)
478
477
-`break` - list all breakpoints
@@ -491,7 +490,7 @@ And to remove them, you can use:
491
490
492
491
#### The break command
493
492
494
-
**Set a breakpoint with specified line number - e.g. `b 28`**
493
+
**Set a breakpoint on a specified line number - e.g. `b 28`**
@@ -787,9 +786,7 @@ See [ruby/debug#408](https://github.com/ruby/debug/issues/408) for details.
787
786
Debugging with the `web-console` gem
788
787
------------------------------------
789
788
790
-
Web Console is a bit like `debug`, but it runs in the browser. In any page you
791
-
are developing, you can request a console in the context of a view or a
792
-
controller. The console would be rendered next to your HTML content.
789
+
Web Console is a bit like `debug`, but it runs in the browser. You can request a console in the context of a view or a controller on any page. The console would be rendered next to your HTML content.
0 commit comments