Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

launch.json shows unintended warnings for "type": "pwa-chrome" #234327

Closed
noontz opened this issue Nov 21, 2024 · 1 comment
Closed

launch.json shows unintended warnings for "type": "pwa-chrome" #234327

noontz opened this issue Nov 21, 2024 · 1 comment
Assignees

Comments

@noontz
Copy link

noontz commented Nov 21, 2024

Type: Bug

VS Code

Add this configuration to a projects launch.json in .vscode folder

{
"name": "DEBUG-DEV",
"request": "launch",
"type": "pwa-chrome",
"url": "https://localhost:9001/",
"webRoot": "${workspaceRoot}",
"sourceMaps": true
}

This configuration results in a yellow warning line beneath "type": "pwa-chrome". The error description is: "Please use type chrome instead"

Others experience the same : https://stackoverflow.com/questions/75352553/vscode-use-chrome-instead-of-pwa-chrome

Even stranger is the fact that built in "intellisense" suggests "pwa-chrome" as an option for "type"?

VS Code version: Code 1.95.3 (f1a4fb1, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz (4 x 3100)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.93GB (4.98GB free)
Process Argv --crash-reporter-id 13072b5e-4a26-43e2-b55d-5eb7771846ef
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
launch-config Art 0.8.4
vscode-remote-control eli 1.7.0
inline-html pus 0.3.10
LiveServer rit 5.7.9
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
bdiig495:31013172
dvdeprecation:31068756
dwnewjupyter:31046869
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc2:31185842
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@roblourens
Copy link
Member

The pwa-chrome type is showing an internal implementation detail, although either one should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants