Commit 2df327e1 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu Committed by Marcin Sedlak-Jakubowski

Document how to use pry-remote

This allows debugging of web requests easily
parent c51d19aa
......@@ -10,7 +10,10 @@ info: To determine the technical writer assigned to the Stage/Group associated w
To invoke the debugger, place `binding.pry` somewhere in your
code. When the Ruby interpreter hits that code, execution stops,
and you can type in commands to debug the state of the program
and you can type in commands to debug the state of the program.
When debugging code in another process like Puma or Sidekiq, you can use `binding.remote_pry`.
You can then connect to this session by running `pry-remote` from your terminal.
## `byebug` vs `binding.pry`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment