Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 8192b86

Browse files
committed
Better library example for Node
1 parent cd3d071 commit 8192b86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ The `sourceMapPathOverrides` option lets you set a mapping of source paths from
5252
If you set `sourceMapPathOverrides` in your launch config, that will override these defaults. `${workspaceRoot}` and `${cwd}` can be used here. If you aren't sure what the left side should be, you can use the `.scripts` command (details below). You can also use the `diagnosticLogging`/`verboseDiagnosticLogging` options to see the contents of the sourcemap, or look at the paths of the sources in Chrome DevTools, or open your `.js.map` file and check the values manually.
5353

5454
## Skipping "library code"/"blackboxed scripts"
55-
The `experimentalLibraryCode` option allows you to specify an array of names of folders/files to skip when debugging. For example, if you set `"experimentalLibraryCode": ["jquery.js"]`, then you will skip any file named 'jquery.js' when stepping through your code. You also won't break on exceptions thrown from 'jquery.js'. This works the same as "blackboxing scripts" in Chrome DevTools. Note that this is just an experiment at the moment. The format for entries is also the same, so you can add
56-
* The name of a file (like `jquery.js`)
55+
The `experimentalLibraryCode` option allows you to specify an array of names of folders/files to skip when debugging. For example, if you set `"experimentalLibraryCode": ["lib.js"]`, then you will skip any file named 'lib.js' when stepping through your code. You also won't break on exceptions thrown from 'lib.js'. This works the same as "blackboxing scripts" in Chrome DevTools. Note that this is just an experiment at the moment. The format for entries is also the same, so you can add
56+
* The name of a file (like `lib.js`)
5757
* The name of a folder, under which to skip all scripts (like `node_modules`)
5858
* A regex, to skip all scripts that match (like `\.min\.js$`)
5959

0 commit comments

Comments
 (0)