<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Debug](./rc-js-util._debug.md) &gt; [configureBreakpoint](./rc-js-util._debug.configurebreakpoint.md)

## \_Debug.configureBreakpoint() method

Most debuggers will ignore `debugger` statements in node\_modules. Skirt around this by letting the consumer set their own callback for this.

**Signature:**

```typescript
static configureBreakpoint(this: void, onBreakpoint: () => void): void;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

this


</td><td>

void


</td><td>


</td></tr>
<tr><td>

onBreakpoint


</td><td>

() =&gt; void


</td><td>

called on debug assert etc, you should provide a function with a `debugger` statement.


</td></tr>
</tbody></table>
**Returns:**

void

## Example


```typescript
// the braces are not optional
_Debug.configureBreakpoint(() => { debugger; })
```

