Skip to main content
Process.setSourceMapsEnabled - node__process.d.ts - Node documentation
method Process.setSourceMapsEnabled
Unstable

Usage in Deno

```typescript import { type Process } from "node:node__process.d.ts"; ```
Process.setSourceMapsEnabled(value: boolean): void
This function enables or disables the [Source Map v3](https://sourcemaps.info/spec.html) 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

value: boolean

Return Type

void