从 VS Code 中的 Typescript 调试器中删除 Javascript 个变量
Remove Javascript Variables from Typescript Debugger in VS Code
当我在 VS Code 中调试 Typescript 时,会显示生成的 javascript 中的很多变量,例如 "variables" 部分中的 _a
或 _i
.有没有办法摆脱它们,所以我只能看到在 Typescript 文件中声明的变量?
Is there a way to get rid of them, so I only see variables declared in the Typescript file?
没有。 TypeScript sourcemaps 还不支持变量名映射。
当我在 VS Code 中调试 Typescript 时,会显示生成的 javascript 中的很多变量,例如 "variables" 部分中的 _a
或 _i
.有没有办法摆脱它们,所以我只能看到在 Typescript 文件中声明的变量?
Is there a way to get rid of them, so I only see variables declared in the Typescript file?
没有。 TypeScript sourcemaps 还不支持变量名映射。