microsoft / microsoft/vscode-js-debug

iframes are not listed as session

Open
#1,815 3 comments 0 reactions 1 assignee View on GitHub

@connor4312 is already working on this.

Since Sep 26, 2023.

feature-request
Dominant language
TypeScript
Stars
2k
Forks
373
Avg merge
1d 9m
Merged PRs (30d)
6

Description

When debugging a webpage with an iframe, iframes are not listed as session in VS Code:

Image

However, chrome lists them as sessions:

Image

Which is also convenient in the dev console:

Image

In VS Code I cannot select the iframe as my target element in the dev console. This is especially problematic when the iframe has a different origin and is inaccessible from the main window - in that case there is no way to inspect global variables of the iframe while the execution is not paused in it.

Probably https://github.com/microsoft/vscode-js-debug/issues/1432 is related.

demo.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.