Skip to main content

setSourceMapsEnabled

method Process.setSourceMapsEnabled
unstable
Jump to headingProcess.setSourceMapsEnabled(value: boolean): void

This function enables or disables the Source Map v3 support for stack traces.

It provides same features as launching Node.js process with commandline options --enable-source-maps.

Only source maps in JavaScript files that are loaded after source maps has been enabled will be parsed and loaded.

Parameters Jump to heading

Jump to headingvalue: boolean

Return Type Jump to heading

void
Back to top