1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

Merge pull request #119 from nestd/master

Clear error why the remote debugger could not be used
This commit is contained in:
Jon Leighton 2012-07-24 14:53:07 -07:00
commit d5f7ffa2f9

View file

@ -129,8 +129,13 @@ module Capybara::Poltergeist
end
def debug
inspector.open
pause
if @options[:inspector]
inspector.open
pause
else
raise Error, "To use the remote debugging, you have to launch the driver " \
"with `:inspector => true` configuration option"
end
end
def pause