diff --git a/dap/variables.go b/dap/variables.go index 288209c81978..f613f00b8605 100644 --- a/dap/variables.go +++ b/dap/variables.go @@ -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 {