Skip to content

Commit 6f79d2a

Browse files
ono-maxko1
authored andcommitted
CDP: support reattaching in Chrome DevTools
Close #800
1 parent bd8678c commit 6f79d2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/debug/server_cdp.rb

+3
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,9 @@ def process
549549
activate_bp bps
550550
end
551551
send_response req
552+
when 'Debugger.pause'
553+
send_response req
554+
Process.kill(UI_ServerBase::TRAP_SIGNAL, Process.pid)
552555

553556
# breakpoint
554557
when 'Debugger.getPossibleBreakpoints'

0 commit comments

Comments
 (0)