Toggle single-step debugging for a coroutine.
debugAsync(x, R, internal, trace)
Arguments
- x
A coroutine object as constructed by (async, gen or
stream).
- R
Set TRUE to step through expressions at user level
- internal
Set TRUE to step through at coroutine
implementation level.
- trace
Set TRUE or provide a print function to print each R
expression evaluated in turn.
Value
a list(R=, internal=, trace=)
with the current debug state.