microsoft / microsoft/vscode-edge-devtools

In my opinion, launch instance opens wrong page

Open
#889 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement tracked
Dominant language
TypeScript
Stars
827
Forks
358
Avg merge
20h 32m
Merged PRs (30d)
10

Description

Environment (please complete the following information):

  • OS: macOS 12.1
  • Extension version: v1.4.5

Describe the bug:

I clicked on launch project in the extension view, and a page that has nothing to do with my project is opened.

Repro steps:

  1. created a new project with a basic html file. body contained only an h1 tag.
  2. with the html file active, clicked on launch project in the dev tools view.
  3. two tabs are opened. one with the dev tools and one with dev tools screen cast
  4. the screen cast tab shows contents of file:///Users/chris/.vscode/extensions/ms-edgedevtools.vscode-edge-devtools-1.4.5/out/startpage/index.html

Expected behavior:

I expected the screen cast tab to show a page related to my project. (e.g. my only html file titled index.html)

Additional context:

I closed the instance listed under targets in the edge view and clicked on launch instance again after selecting the index.html for a second time. This time the screen cast tab opened for "about:blank". Also unexpected.

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.

Research direction

Reproduce the launch flow from the extension view with a basic HTML project and an active index.html, then compare the DevTools and screen cast tabs. Inspect how the launch project action selects the target, including the reported out/startpage/index.html and about:blank results; done means the screen cast opens the selected project page.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.