Skip to content

Commit 41ac4eb

Browse files
windows support
1 parent 17b51df commit 41ac4eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/configurationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export class JavaDebugConfigurationProvider implements vscode.DebugConfiguration
496496
exclude = path.join(folder?.uri.fsPath || "", exclude);
497497
}
498498

499-
if (exclude.endsWith("/")) {
499+
if (exclude.endsWith(process.platform === 'win32' ? '\\' : '/')) {
500500
exclude = exclude.substr(0, exclude.length - 1);
501501
isDirect = true;
502502
} else {

0 commit comments

Comments
 (0)