setBlackboxPatterns method
Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
scripts with url matching one of the patterns. VM will try to leave blackboxed script by
performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
patterns
Array of regexps that will be used to check script url for blackbox state.
Implementation
Future<void> setBlackboxPatterns(List<String> patterns) async {
await _client.send('Debugger.setBlackboxPatterns', {
'patterns': [...patterns],
});
}