puppeteer/new-docs/puppeteer.protocol.debugger.resumerequest.terminateonresume.md

14 lines
866 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Debugger](./puppeteer.protocol.debugger.md) &gt; [ResumeRequest](./puppeteer.protocol.debugger.resumerequest.md) &gt; [terminateOnResume](./puppeteer.protocol.debugger.resumerequest.terminateonresume.md)
## Protocol.Debugger.ResumeRequest.terminateOnResume property
Set to true to terminate execution upon resuming execution. In contrast to Runtime.terminateExecution, this will allows to execute further JavaScript (i.e. via evaluation) until execution of the paused code is actually resumed, at which point termination is triggered. If execution is currently not paused, this parameter has no effect.
<b>Signature:</b>
```typescript
terminateOnResume?: boolean;
```