diff --git a/src/debug/debug.ts b/src/debug/debug.ts index ba9958b..c7ea279 100644 --- a/src/debug/debug.ts +++ b/src/debug/debug.ts @@ -140,7 +140,7 @@ class OCamlDebugSession extends DebugSession { protected async launchRequest(response: DebugProtocol.LaunchResponse, args: LaunchRequestArguments) { let ocdArgs = []; if (args.cd) { - ocdArgs.push('cd', args.cd); + ocdArgs.push('-cd', args.cd); } this._remoteMode = !!args.socket;