Module: DEBUGGER__::ForkInterceptor::DaemonInterceptor
- Defined in:
- lib/debug/session.rb
Instance Method Summary collapse
Instance Method Details
#daemon(*args) ⇒ Object
2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 |
# File 'lib/debug/session.rb', line 2494 def daemon(*args) return super unless defined?(SESSION) && SESSION.active? _, child_hook = __fork_setup_for_debugger(:child) unless SESSION.remote? DEBUGGER__.warn "Can't debug the code after Process.daemon locally. Use the remote debugging feature." end super.tap do child_hook.call end end |