Created
February 10, 2023 10:26
-
-
Save trickypr/5f7971a7ea55772e9709ad795f82de07 to your computer and use it in GitHub Desktop.
Log all sourcemap loads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/devtools/client/debugger/src/reducers/sources-tree.js b/devtools/client/debugger/src/reducers/sources-tree.js | |
| index 22a9de206d9a0e9f46d06f91044e93df9e12aad8..0640e2238d8c4c81d7c177c544ed5b5e90d7551d 100644 | |
| --- a/devtools/client/debugger/src/reducers/sources-tree.js | |
| +++ b/devtools/client/debugger/src/reducers/sources-tree.js | |
| @@ -250,6 +250,8 @@ function isSourceVisibleInSourceTree( | |
| } | |
| function addSource(threadItems, thread, source) { | |
| + console.log(source.id) | |
| + | |
| // Ensure creating or fetching the related Thread Item | |
| let threadItem = threadItems.find(item => { | |
| return item.threadActorID == thread; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment