Skip to content

Commit 87b6c06

Browse files
marianosimoneko1
authored andcommitted
✨ Allow setting local_fs_map even when using UI_UnixDomainServer
1 parent d014117 commit 87b6c06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/debug/server_dap.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ def dap_setup bytes
128128

129129
case self
130130
when UI_UnixDomainServer
131-
UI_DAP.local_fs_map_set true
131+
# If the user specified a mapping, respect it, otherwise, make sure that no mapping is used
132+
UI_DAP.local_fs_map_set CONFIG[:local_fs_map] || true
132133
when UI_TcpServer
133134
# TODO: loopback address can be used to connect other FS env, like Docker containers
134135
# UI_DAP.local_fs_set if @local_addr.ipv4_loopback? || @local_addr.ipv6_loopback?

0 commit comments

Comments
 (0)