struct Protocol::Debugger::SetBreakpointByUrl

Overview

Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in #locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads.

Included Modules

Defined in:

protocol/debugger.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def breakpoint_id : BreakpointId #

Id of the created breakpoint for further reference.


[View source]
def locations : Array(Location) #

List of the locations this breakpoint resolved into upon addition.


[View source]