Skip to content

Commit

Permalink
Support reattaching in Chrome DevTools
Browse files Browse the repository at this point in the history
Close #800
  • Loading branch information
ono-max committed Mar 7, 2023
1 parent bd8678c commit 363fadc
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 @@ -614,6 +614,9 @@ def process
bps[ex] = bps.size
end
send_response req
when 'Debugger.pause'
send_response req
Process.kill(UI_ServerBase::TRAP_SIGNAL, Process.pid)

when 'Debugger.evaluateOnCallFrame', 'Runtime.getProperties'
@q_msg << req
Expand Down

0 comments on commit 363fadc

Please sign in to comment.