Skip to content

Instantly share code, notes, and snippets.

@lbvf50mobile
Last active October 30, 2016 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lbvf50mobile/8b743a5b1b7a01bd479d6086b6391995 to your computer and use it in GitHub Desktop.
Save lbvf50mobile/8b743a5b1b7a01bd479d6086b6391995 to your computer and use it in GitHub Desktop.
why binding pry dose not stop a pocess
require 'rubygems'
require 'bundler/setup'
require 'pry-byebug'
puts "test1"
binding.pry
puts
@lbvf50mobile
Copy link
Author

Just created file tst.rb inside my rails root, and wanted to test some stuff. But on ruby tst.rb it only prints "test". dose not start pry session.

@lbvf50mobile
Copy link
Author

Ok when we add puts at the end of the file binding.pry starts work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment