File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ if you wanna enable it globally on your Rails app
20
20
21
21
Global use:
22
22
23
- By using the global tracing, just configuring ` RAILS_TRACEPOINT_STACK ` as true, you can have a sample scenario and output as:
23
+ By using the global tracing, just configuring ` RAILS_TRACEPOINT_STACK_ENABLED ` as true, you can have a sample scenario and output as:
24
24
25
25
``` ruby
26
26
module Foo
@@ -57,7 +57,7 @@ called: Foo#puts_message in COMPLETE_PATH_TO_YOUR_FILE/app/services/foo:METHOD_L
57
57
```
58
58
** Enabling Locally with .enable_trace**
59
59
60
- You can also enable the tracer locally (even with ` RAILS_TRACEPOINT_STACK ` not defined) by passing a block of code to be traced:
60
+ You can also enable the tracer locally (even with ` RAILS_TRACEPOINT_STACK_ENABLED ` not defined) by passing a block of code to be traced:
61
61
62
62
``` ruby
63
63
class Bar
You can’t perform that action at this time.
0 commit comments