Methods
waitUntilResumed() → {Promise}
- Description:
Pause the execution until it is resumed on DevTools, so that you can set breakpoints in your scenario before it runs. It does nothing when debug mode is disabled.
- Source:
Returns:
resolved when the execution is resumed
- Type
- Promise
(static) create(config) → {DebugSession}
- Description:
Create a session and start preparing it. The returned session does nothing when config.debug is false, so that the caller does not have to care whether it is enabled.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
config |
Config |
Returns:
- Type
- DebugSession