mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-29 17:35:02 +08:00
Adding a sourceURL comment to conditional breakpoints and logpoints allows us to detect console messages that originate from such breakpoints. We can then use the signal to treat such console messages differently, e.g. add a marker to distinguish them from user console messages and use the anchor link to reveal the breakpoint. R=kimanh@chromium.org Bug: 1027458 Change-Id: Id3eea0cc49037a24efcdaf321ea96f2d75663261 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4207831 Reviewed-by: Kim-Anh Tran <kimanh@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org>