Skip to content

Commit 9e7c9d0

Browse files
committed
Defaulting pathSeparator to auto
1 parent 223cb7d commit 9e7c9d0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ A CFML debug configuration looks like:
141141
// "auto" - use the platform default (e.g., "/" on macOS/Linux, "\" on Windows)
142142
// "posix" - always use forward slashes ("/")
143143
// "windows" - always use backslashes ("\")
144-
"pathSeparator": "none"
144+
"pathSeparator": "auto"
145145
}
146146
```
147147
`hostName`/`port` should match the `debugHost`/`debugPort` of the Java agent's configuration. (There are exceptions; e.g., on remote hosts where DNS and/or port forwarding are in play.)

vscode-client/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"pathSeparator": {
130130
"type": "string",
131131
"enum": ["none", "auto", "posix", "windows"],
132-
"default": "none",
132+
"default": "auto",
133133
"description": "How paths returned from the debugger should be normalized (none, auto, posix, or windows)."
134134
}
135135
}
@@ -147,7 +147,7 @@
147147
"serverPrefix": "/app"
148148
}
149149
],
150-
"pathSeparator": "none",
150+
"pathSeparator": "auto",
151151
"port": 8000
152152
}
153153
],
@@ -166,7 +166,7 @@
166166
"serverPrefix": "/app"
167167
}
168168
],
169-
"pathSeparator": "none",
169+
"pathSeparator": "auto",
170170
"port": 8000
171171
}
172172
}

vscode-client/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function activate(context: vscode.ExtensionContext) {
6565
}
6666

6767
const normalizePathFromSession = (session: vscode.DebugSession, path: string): string => {
68-
const pathSeparator = session.configuration?.pathSeparator ?? "none";
68+
const pathSeparator = session.configuration?.pathSeparator ?? "auto";
6969
if (pathSeparator === "none") return path;
7070

7171
const platformDefault = process.platform === "win32" ? "\\" : "/";

0 commit comments

Comments
 (0)