Can we add the gem web-console
to the project?
#655
KarlHeitmann
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I've never used web-console before. What benefit does it have over |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
What do you think about adding the gem web-console as a dev dependency for the project?
I like the policy to keep the Gemfile as slim as possible, but I think this gem is a must-to in every project. I use it not only to check what went wrong in case an unexpected problem rises while working.When I am exploring a project, I sometimes break the code on purpose to use
web-console
as a debugger.When I don't know what is going on, or want to inspect a variable, instead putting a
binding.pry
or aputs
statement, I put a division by zero line:1/0
, and when the interpreter arrives to the division by zero line, then I use the console on the browser to experiment with the variables on the scope where the division by zero occurred. Very useful to tinker with variables, experiment and debug.I've already used the Gem in this project while working on #627 but I kept my Gemfile away of the commits.
Beta Was this translation helpful? Give feedback.
All reactions