dap: use slash separator when reading ref files

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-09-08 15:04:51 +02:00
parent e4f23adf3f
commit 90076e1d07
+1 -1
View File
@@ -203,7 +203,7 @@ func fsVars(ctx context.Context, ref gateway.Reference, path string, vars *varia
Name: file.Path,
}
fullpath := filepath.Join(path, file.Path)
fullpath := filepath.ToSlash(filepath.Join(path, file.Path))
if file.IsDir() {
fv.Name += "/"
fv.VariablesReference = vars.New(func() []dap.Variable {