зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1834453 - [devtools] Add documentation for the sourcemaps ignore list r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D179317
This commit is contained in:
Родитель
525a0cb936
Коммит
078cbcec37
Двоичные данные
devtools/docs/user/debugger/how_to/ignoring_sources/ignore-third-party-sources.png
Normal file
Двоичные данные
devtools/docs/user/debugger/how_to/ignoring_sources/ignore-third-party-sources.png
Normal file
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 440 KiB |
|
@ -52,3 +52,19 @@ To ignore multiple lines in a source file:
|
||||||
:alt: Screenshot showing the context menu item to ignore a selection of lines in a source file.
|
:alt: Screenshot showing the context menu item to ignore a selection of lines in a source file.
|
||||||
:width: 1150px
|
:width: 1150px
|
||||||
:class: border
|
:class: border
|
||||||
|
|
||||||
|
|
||||||
|
Ignore third-party scripts
|
||||||
|
****************************
|
||||||
|
|
||||||
|
Frameworks and bundlers can define third-party scripts which should be ignored, using the `x_google_ignoreList <https://developer.chrome.com/articles/x-google-ignore-list/>`_ sourcemap extension.
|
||||||
|
The debugger parses and reads this field from the sourcemap to automatically ignore these sources.
|
||||||
|
|
||||||
|
To ignore third-party scripts:
|
||||||
|
|
||||||
|
- Click the debugger settings menu and choose **Ignore Known Third-party Scripts**
|
||||||
|
|
||||||
|
.. image:: ignore-third-party-sources.png
|
||||||
|
:alt: Screenshot showing the settings menu item to ignore third party sources off the sourcemaps x_google_ignoreList field.
|
||||||
|
:width: 1150px
|
||||||
|
:class: border
|
||||||
|
|
Загрузка…
Ссылка в новой задаче