in testSupport/src/debugClient.ts [60:78]
constructor(debugAdapterRuntime: string, debugAdapterExecutable: string, debugType: string, spawnOptions?: cp.SpawnOptions, enableStderr?: boolean) {
super();
this._runtime = debugAdapterRuntime;
this._executable = debugAdapterExecutable;
this._spawnOptions = spawnOptions;
this._enableStderr = enableStderr;
this._debugType = debugType;
this._supportsConfigurationDoneRequest = false;
if (DebugClient.CASE_INSENSITIVE_FILESYSTEM === undefined) {
try {
fs.accessSync(process.execPath.toLowerCase(), constants.F_OK);
fs.accessSync(process.execPath.toUpperCase(), constants.F_OK);
DebugClient.CASE_INSENSITIVE_FILESYSTEM = true;
} catch (err) {
DebugClient.CASE_INSENSITIVE_FILESYSTEM = false;
}
}
}