Skip to content

Commit cf1ff10

Browse files
committed
Support ws:// and wss:// URLs for VM Service
Fixes #2531.
1 parent 6bdc195 commit cf1ff10

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/extension/commands/debug.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,8 @@ export class DebugCommands {
262262
// Uri.parse doesn't seem to work as expected, so do our own basic validation
263263
// https://github.com/Microsoft/vscode/issues/49818
264264

265-
if (!input.startsWith("http://") && !input.startsWith("https://"))
265+
if (!input.startsWith("http://") && !input.startsWith("https://")
266+
&& !input.startsWith("ws://") && !input.startsWith("wss://"))
266267
return "Please enter a valid Observatory URI";
267268
},
268269
value: defaultValue,

0 commit comments

Comments
 (0)