setAsyncCallStackDepth method
Enables or disables async call stacks tracking.
maxDepth
Maximum depth of async call stacks. Setting to 0
will effectively disable collecting async
call stacks (default).
Implementation
Future<void> setAsyncCallStackDepth(int maxDepth) async {
await _client.send('Runtime.setAsyncCallStackDepth', {
'maxDepth': maxDepth,
});
}