TypeScript debugging fails when the project path contains a bracket #166400
Description
opened on Nov 15, 2022
- VS Code Version: 1.73.1
- OS Version: Windows_NT x64 10.0.19045
- NodeJS Version: 18.12.1
- TypeScript Version: 4.8.4
This issue occurs with all extensions disabled.
Steps to Reproduce:
- Create a folder with a bracket in the name, for example
C:\(my) project
. - Open the folder in VS Code and add the following files:
file1.ts
import myFunc from "./file2";
console.log(myFunc("Hello World!"));
file2.ts
export default (a: string) => a.toUpperCase();
tsconfig.json
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"outDir": "out",
"sourceMap": true
}
}
This does not occur if the folder is renamed to C:\my project
.
Activity