Specifies the filename used in stack traces produced by this script.
Specifies the line number offset that is displayed in stack traces produced by this script.
Specifies the column number offset that is displayed in stack traces produced by this script.
When true, if an Error error occurs while compiling the code, the line of code causing the error is attached to the stack trace.
Specifies the number of milliseconds to execute code before terminating execution. If execution is terminated, an Error will be thrown.
Provides an optional Buffer with V8's code cache data for the supplied source. When supplied, the cachedDataRejected value will be set to either true or false depending on acceptance of the data by V8.
When true and no cachedData is present, V8 will attempt to produce code cache data for code. Upon success, a Buffer with V8's code cache data will be produced and stored in the cachedData property of the returned vm.Script instance. The cachedDataProduced value will be set to either true or false depending on whether code cache data is produced successfully.
Provides an optional Buffer with V8's code cache data for the supplied source.
Provides an optional Buffer with V8's code cache data for the supplied source. When supplied, the cachedDataRejected value will be set to either true or false depending on acceptance of the data by V8.
Specifies the column number offset that is displayed in stack traces produced by this script.
When true, if an Error error occurs while compiling the code, the line of code causing the error is attached to the stack trace.
Specifies the filename used in stack traces produced by this script.
Specifies the line number offset that is displayed in stack traces produced by this script.
When true and no cachedData is present, V8 will attempt to produce code cache data for code.
When true and no cachedData is present, V8 will attempt to produce code cache data for code. Upon success, a Buffer with V8's code cache data will be produced and stored in the cachedData property of the returned vm.Script instance. The cachedDataProduced value will be set to either true or false depending on whether code cache data is produced successfully.
Specifies the number of milliseconds to execute code before terminating execution.
Specifies the number of milliseconds to execute code before terminating execution. If execution is terminated, an Error will be thrown.
Script Options