microsoft / microsoft/vscode-edge-devtools
"Microsoft Edge Tools: Configure launch.json file" action generates invalid launch.json configs
Nobody has claimed this yet.
- 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 24h2
- Extension version (e.g., 1.2.3): 2.1.8
Describe the bug:
The default launch.json configs generated by the Edge DevTools extension are invalid and do not show up in the launch config picker.
Repro steps:
- ctrl-shift-p
- run the "Microsoft Edge Tools: Configure launch.json file" action
- Observe that it generates a launch.json which contains yellow squigglies referencing an invalid
"type": "pwa-msedge"similar to:
{
"type": "pwa-msedge",
"name": "Launch Microsoft Edge",
"request": "launch",
"runtimeArgs": [
"--remote-debugging-port=9222"
],
"url": "http://localhost:8080",
"presentation": {
"hidden": true
}
}
- Observe that the "Launch Microsoft Edge" config is not shown in the run and debug menu's launch configuration dropdown.
Expected behavior:
A valid launch.json file would be generated
Additional context:
Updating the launch config to the following worked:
{
"type": "vscode-edge-devtools.debug",
"request": "launch",
"name": "Launch Microsoft Edge and open the Edge DevTools",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the “Microsoft Edge Tools: Configure launch.json file” action and the launch.json template it generates. Compare the generated configuration with the working vscode-edge-devtools.debug example, then verify in VS Code that the generated file has no validation warnings and that “Launch Microsoft Edge” appears in the launch configuration dropdown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100