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
{{ message }}
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
as far as I understand it, where Rack::Test runs single threaded, capybara-webkit starts a second thread. When doing normal requests binding.pry works fine. However, when the request is posted via javascript, the binding.pry doesn't trigger. RubyMine even crashes.
How do you guys debug the controller action that is triggered via JavaScript?
Thanks,
Robin
The text was updated successfully, but these errors were encountered:
I am quite sure that it is installed with readline support. At least when starting up irb, I can use features like arrow up to get to the last command. In addition, I've had readline installed via brew and my ruby contains an ext/readline dir: ~/.rvm/src/ruby-2.0.0-p0/ext/readline. Also, everything works fine with a "normal" request: If putting a binding.pry in an action and navigating there I get a pry promt. The error only occurs when using JavaScript to make the request.
Hi,
as far as I understand it, where Rack::Test runs single threaded, capybara-webkit starts a second thread. When doing normal requests
binding.pry
works fine. However, when the request is posted via javascript, thebinding.pry
doesn't trigger. RubyMine even crashes.How do you guys debug the controller action that is triggered via JavaScript?
Thanks,
Robin
The text was updated successfully, but these errors were encountered: