Method: DEBUGGER__.open_unix

Defined in:
lib/debug/session.rb

.open_unix(sock_path: nil, sock_dir: nil, nonstop: false, **kw) ⇒ Object



2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
# File 'lib/debug/session.rb', line 2248

def self.open_unix sock_path: nil, sock_dir: nil, nonstop: false, **kw
  CONFIG.set_config(**kw)
  require_relative 'server'

  if defined? SESSION
    SESSION.reset_ui UI_UnixDomainServer.new(sock_dir: sock_dir, sock_path: sock_path)
  else
    initialize_session{ UI_UnixDomainServer.new(sock_dir: sock_dir, sock_path: sock_path) }
  end

  setup_initial_suspend unless nonstop
end