KEMBAR78
Consider exposing WebUSB functionality in extensions · Issue #116761 · microsoft/vscode · GitHub
Skip to content

Consider exposing WebUSB functionality in extensions #116761

@thegecko

Description

@thegecko

I'd be interested to understand whether there is appetite to add control of enabling WebUSB access in web extensions and webviews:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy/usb

With VSCode going online through projects such as codespaces, there are strong use cases for accessing broader Web APIs and in this case, the ability to interact with devices attached to the user's machine.
This could enable scenarios such as debugging of connected devices, which is already possible in the desktop version of VSCode.

I'd be happy to implement the feature, but would be keen to understand whether it would be accepted.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions