We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 699a31e commit f24a6f9Copy full SHA for f24a6f9
lib/debug/session.rb
@@ -151,6 +151,10 @@ def active?
151
!@q_evt.closed?
152
end
153
154
+ def remote?
155
+ @ui.remote?
156
+ end
157
+
158
def stop_stepping? file, line, subsession_id = nil
159
if @bps.has_key? [file, line]
160
true
@@ -2427,6 +2431,10 @@ def daemon
2427
2431
2428
2432
_, child_hook = __fork_setup_for_debugger(:child)
2429
2433
2434
+ unless SESSION.remote?
2435
+ DEBUGGER__.warn "Can't debug the code after Process.daemon locally. Use the remote debugging feature."
2436
2437
2430
2438
super.tap do
2439
child_hook.call
2440
0 commit comments