A publisher that raises a debugger signal when a provided closure needs to stop the process in the debugger.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
When any of the provided closures returns
true, this publisher raises the
SIGTRAP signal to stop the process in the debugger. Otherwise, this publisher passes through values and completions as-is.