File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ import { DebugProtocol } from 'vscode-debugprotocol';
2121import '../../client/common/extensions' ;
2222import { noop , sleep } from '../common/core.utils' ;
2323import { createDeferred , Deferred , isNotInstalledError } from '../common/helpers' ;
24+ import { IPlatformService } from '../common/platform/types' ;
2425import { ICurrentProcess } from '../common/types' ;
2526import { IServiceContainer } from '../ioc/types' ;
2627import { AttachRequestArguments , LaunchRequestArguments } from './Common/Contracts' ;
@@ -333,7 +334,9 @@ class DebugManager implements Disposable {
333334
334335 // Send PTVSD a bogus launch request, and wait for it to respond.
335336 // This needs to be done, so PTVSD can keep track of how it was launched (whether it as for attach or launch).
336- this . sendMessage ( await this . launchRequest , this . ptvsdSocket ) ;
337+ const launchRequest = await this . launchRequest ;
338+ ( launchRequest . arguments as any ) . fixFilePathCase = this . serviceContainer . get < IPlatformService > ( IPlatformService ) . isWindows ;
339+ this . sendMessage ( launchRequest , this . ptvsdSocket ) ;
337340 await new Promise ( resolve => debugSoketProtocolParser . once ( 'response_launch' , resolve ) ) ;
338341
339342 // The PTVSD process has launched, now send the initialize request to it (required by PTVSD).
You can’t perform that action at this time.
0 commit comments