def invoke_pry
      org = Pry.config.history.file
      # this has no effect if gdb is launched by pry
      Pry.config.history.file = '~/.gdb-pry_history'
      $stdin.cooked { pry }
      Pry.config.history.file = org
    end
def invoke_pry
      org = Pry.config.history.file
      # this has no effect if gdb is launched by pry
      Pry.config.history.file = '~/.gdb-pry_history'
      $stdin.cooked { pry }
      Pry.config.history.file = org
    end
Invoke pry, wrapper with some settings.

 @return [void]