Class SetBreakpointByUrlCommandSettings
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.
public sealed class SetBreakpointByUrlCommandSettings : ICommand
- Inheritance
-
SetBreakpointByUrlCommandSettings
- Implements
- Inherited Members
Properties
ColumnNumber
Offset in the line to set breakpoint at.
[JsonPropertyName("columnNumber")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? ColumnNumber { get; set; }
Property Value
- long?
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Condition
Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.
[JsonPropertyName("condition")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Condition { get; set; }
Property Value
LineNumber
Line number to set breakpoint at.
[JsonPropertyName("lineNumber")]
public long LineNumber { get; set; }
Property Value
ScriptHash
Script hash of the resources to set breakpoint on.
[JsonPropertyName("scriptHash")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ScriptHash { get; set; }
Property Value
Url
URL of the resources to set breakpoint on.
[JsonPropertyName("url")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Url { get; set; }
Property Value
UrlRegex
Regex pattern for the URLs of the resources to set breakpoints on. Either url or
urlRegex must be specified.
[JsonPropertyName("urlRegex")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? UrlRegex { get; set; }