auchenberg / auchenberg/vscode-browser-preview

No default launch.json created when pressing F5

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.4k
Forks
152
PR merge metrics
No merged PRs in 30d

Description

If I have a new project and hit 'F5' it gives me the option to use Browser Preview as my debug target, but it will then fail as no launch.json configuration is found.

If I do the same procedure with the regular chrome debugger extension, it'll instead create the default launch.json file with the required configuration needed to launch the tools. It'd be great for the Browser Preview to do the same.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the F5/debug-target handling for Browser Preview and compare it with the regular Chrome debugger flow that creates launch.json. Reproduce the failure in a new project, then verify that choosing Browser Preview creates the required launch.json configuration and starts debugging successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.