且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Typescript调试在Visual Studio 2017中不起作用

更新时间:2023-01-03 13:49:46

最简单的方法是内联映射,这样即使打包也能正常工作.在tsconfig中尝试以下设置:

Easiest thing to do is inline the mapping, so that even packing works. try the following settings in your tsconfig:

//"sourceMap": true,
"inlineSourceMap": true,
"inlineSources": true,