-
Notifications
You must be signed in to change notification settings - Fork 6.3k
-
Hello Code-Server Team,
I need WebUSB Support inside the Code-Server environment. I want to access some USB devices and want to develop a VSCode Plugin to communicate with the device.
But, strangely, I am not able to access navigator.serial or navigator.usb within the DOM which is accessible otherwise.
Please help me on this.
Thank you,
Punit
Beta Was this translation helpful? Give feedback.
All reactions
@code-asher might be able to help with this. Any idea on the best way to access the DOM from within code-server?
Replies: 1 comment 3 replies
-
@code-asher might be able to help with this. Any idea on the best way to access the DOM from within code-server?
Beta Was this translation helpful? Give feedback.
All reactions
-
@bpmct Thank you Ben. But, I just now checked I was facing this issue because I was using an Unsecured Docker Instance. When I used SSL, the problem vanished.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 4
-
Glad you got it sorted! Feel free to add updates about the WebUSB plugin. Would love to document this!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 2
-
It seems amazing, 80% of problems in development are just because of SSL certificates, lol 😂
code-server's discussions are flooded with problems that were due to HTTP.
Beta Was this translation helpful? Give feedback.
All reactions
-
😄 2