Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 25a8220

Browse files
authored
Merge pull request #170 from johnemau/fix-wv-port
fix: set undefined port when advanced webview debugging
2 parents 80cd6c5 + 565e554 commit 25a8220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/edgeChromiumDebugAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class EdgeChromiumDebugAdapter extends ChromeDebugAdapter {
4141

4242
if (args.useWebView === 'advanced') {
4343
// Advanced scenarios should use port 0 by default since we expect the callback to inform us of the correct port
44-
if (args.port === 2015) {
44+
if (!args.port || args.port === 2015) {
4545
args.port = 0;
4646
}
4747

0 commit comments

Comments
 (0)