Replace windows backslashes to regular slashes for linux file systems over ssh
This commit is contained in:
parent
0ec1a4e8cf
commit
99a185f951
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class MI2DebugSession extends DebugSession {
|
||||||
if (args.ssh.remotex11screen === undefined)
|
if (args.ssh.remotex11screen === undefined)
|
||||||
args.ssh.remotex11screen = 0;
|
args.ssh.remotex11screen = 0;
|
||||||
this.isSSH = true;
|
this.isSSH = true;
|
||||||
this.trimCWD = args.cwd;
|
this.trimCWD = args.cwd.replace(/\\/g, "/");
|
||||||
this.switchCWD = args.ssh.cwd;
|
this.switchCWD = args.ssh.cwd;
|
||||||
this.gdbDebugger.ssh(args.ssh, args.ssh.cwd, args.target).then(() => {
|
this.gdbDebugger.ssh(args.ssh, args.ssh.cwd, args.target).then(() => {
|
||||||
if (args.autorun)
|
if (args.autorun)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue