File tree Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Expand file tree Collapse file tree 2 files changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ This changelog records changes to stable releases since 1.50.2. "TBA" changes he
5
5
## Nightly (only)
6
6
7
7
- feat: show class names of methods in call stack view ([ #1770 ] ( https://github.com/microsoft/vscode-js-debug/issues/1770 ) )
8
+ - fix: edge devtools incorrectly ask for local forwarding ([ vscode #193110 ] ( https://github.com/microsoft/vscode/issues/193110 ) )
8
9
9
10
## v1.82 (August 2023)
10
11
Original file line number Diff line number Diff line change @@ -28,19 +28,23 @@ export const registerRequestCDPProxy = (
28
28
}
29
29
30
30
try {
31
- const tunneled = await tunnels . request ( sessionId , {
32
- label : 'Edge Devtools Tunnel' ,
33
- remotePort : proxied . port ,
34
- } ) ;
31
+ if ( vscode . env . remoteName !== undefined ) {
32
+ const tunneled = await tunnels . request ( sessionId , {
33
+ label : 'Edge Devtools Tunnel' ,
34
+ remotePort : proxied . port ,
35
+ } ) ;
35
36
36
- return {
37
- host : tunneled . localAddress . host ,
38
- port : tunneled . localAddress . port ,
39
- path : proxied . path ,
40
- } ;
37
+ return {
38
+ host : tunneled . localAddress . host ,
39
+ port : tunneled . localAddress . port ,
40
+ path : proxied . path ,
41
+ } ;
42
+ }
41
43
} catch {
42
- return proxied ;
44
+ // fall through
43
45
}
46
+
47
+ return proxied ;
44
48
} ) ,
45
49
) ;
46
50
} ;
You can’t perform that action at this time.
0 commit comments