microsoft / microsoft/vscode-edge-devtools

Search port 9229 in addition to 9222 by default; allow Port setting to have multiple values

Open
#606 1 comment 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 (e.g., Windows 10): Windows 11
  • Extension version (e.g., 1.2.3): 1.4.0

Describe the bug:

I'm using VS Code to debug Edge WebView2 (running in Outlook Win32). I thought I would try the Edge DevTools extension.

I found that I could change the setting to look for port 9229 instead of 9222, and when I do, I see the target show up and I can attach.

By default, "edge://inspect" in the browser will search both ports 9222 and 9229 by default. Seems like the extension should do the same thing.

Repro steps:

Have WebView2 running in an app so it's debugging. (Not sure the steps needed to accomplish this.)
Open the web extension.

Expected behavior:

Expect the webview instance to show up.

Additional context:

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

Start by locating the extension's Port setting and the code that discovers Edge debugging targets. Check how the default port is used and how a configured value is parsed. Done means the default search finds targets on both 9222 and 9229, while the Port setting accepts multiple values and existing single-port use still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.