Module
x/async_call_rpc/docs/async-call-rpc.asynccalloptions.preservepauseonexception.md
A lightweight JSON RPC client & server
Home > async-call-rpc > AsyncCallOptions > preservePauseOnException
AsyncCallOptions.preservePauseOnException property
(Browser) Try to preserve the browser “pause on uncaught exception”.
Signature:
preservePauseOnException?: boolean;
Remarks
This options only works for the browser.
DON’T use it in production. Use it like “preservePauseOnException”: process.env.NODE_ENV === “development”
It’s based on a hacky way to preserve the breakpoint. If you find your the server function isn’t get called or called twice, try to close this option.