SetBreakpointByUrlRequest

@Serializable
data class SetBreakpointByUrlRequest(val lineNumber: Int, val url: String? = null, val urlRegex: String? = null, val scriptHash: String? = null, val columnNumber: Int? = null, val condition: String? = null)

Request object containing input parameters for the DebuggerDomain.setBreakpointByUrl command.

Constructors

Link copied to clipboard
constructor(lineNumber: Int, url: String? = null, urlRegex: String? = null, scriptHash: String? = null, columnNumber: Int? = null, condition: String? = null)

Types

Link copied to clipboard
class Builder(val lineNumber: Int)

A builder for SetBreakpointByUrlRequest, which allows setting the optional parameters of the DebuggerDomain.setBreakpointByUrl command via a lambda.

Properties

Link copied to clipboard

Offset in the line to set breakpoint at.

Link copied to clipboard

Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true.

Link copied to clipboard

Line number to set breakpoint at.

Link copied to clipboard

Script hash of the resources to set breakpoint on.

Link copied to clipboard
val url: String?

URL of the resources to set breakpoint on.

Link copied to clipboard

Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified.