true in browsers
false in Node
Set this to true to automatically load the sourcemap declared in the caller js file. Alternatively, to load multiple sources and sourcemaps, set this to an object with source file paths/URLs as keys and sourcemap file paths/URLs as values.
In dev mode, all calls are captured, allowed, and tracked to the inspector. When dev mode is false, Sandworm will enforce user-provided permissions and will not track calls.
The default logger level is
warn; setting this to
true lowers the level to
Set this to true to stop event tracking to the inspector in dev mode.
The IP address for the inspector.
The port number for the inspector.
Ignore activity from browser extensions.
Utility or platform modules that Sandworm should remove from a caller path.
Module permissions to enforce if dev mode is false.
A function that will be invoked right before throwing on access denied. The error itself will be passed as the first arg.
An array of alias definitions - see aliases.