Skip to content

Commit 0129a55

Browse files
committed
Add debugSession to docs
1 parent 62327e8 commit 0129a55

File tree

1 file changed

+3
-0
lines changed
  • documentation/src/content/docs/debugging

1 file changed

+3
-0
lines changed

documentation/src/content/docs/debugging/browser.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ window.Glean.setDebugViewTag("example-tag");
2020

2121
// Tag pings with source tags.
2222
window.Glean.setSourceTags(["my-tag", "your-tag", "our-tag"]);
23+
24+
// Open a new tab in the browser showing the Debug Ping Viewer with the active session in focus.
25+
window.Glean.debugSession();
2326
```
2427

2528
## Try it out

0 commit comments

Comments
 (0)