coro_debug: Debug a generator or async function
Description
Call coro_debug() on a generator(), async(), or
async_generator() function to enable step-debugging.
Alternatively, set options(coro_debug = TRUE) for
step-debugging through all functions created with coro.
Usage
coro_debug(fn, value = TRUE)
Arguments
- fn
A generator factory or an async function.
- value
Whether to debug the function.