Skip to content

Commit

Permalink
CDP: support reattaching in Chrome DevTools
Browse files Browse the repository at this point in the history
Close #800
  • Loading branch information
ono-max authored and ko1 committed Mar 7, 2023
1 parent bd8678c commit 6f79d2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/debug/server_cdp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,9 @@ def process
activate_bp bps
end
send_response req
when 'Debugger.pause'
send_response req
Process.kill(UI_ServerBase::TRAP_SIGNAL, Process.pid)

# breakpoint
when 'Debugger.getPossibleBreakpoints'
Expand Down

0 comments on commit 6f79d2a

Please sign in to comment.