()
| 737 | } |
| 738 | |
| 739 | function initializeSourceMapsHandlers() { |
| 740 | const { |
| 741 | setSourceMapsSupport, |
| 742 | } = require('internal/source_map/source_map_cache'); |
| 743 | const enabled = getOptionValue('--enable-source-maps'); |
| 744 | setSourceMapsSupport(enabled, { |
| 745 | __proto__: null, |
| 746 | // TODO(legendecas): In order to smoothly improve the source map support, |
| 747 | // skip source maps in node_modules and generated code with |
| 748 | // `--enable-source-maps` in a semver major version. |
| 749 | nodeModules: enabled, |
| 750 | generatedCode: enabled, |
| 751 | }); |
| 752 | } |
| 753 | |
| 754 | function initializeFrozenIntrinsics() { |
| 755 | if (getOptionValue('--frozen-intrinsics')) { |
no test coverage detected