开发者

Debugging Typescript in VS Code - doesn't work when using an import

开发者 https://www.devze.com 2022-12-07 20:45 出处:网络
I have a simple file to debug, index.ts. It will debug fine until I add this line to the top of the code page:

I have a simple file to debug, index.ts.

It will debug fine until I add this line to the top of the code page:

import * as doten开发者_Go百科v from 'dotenv';

Then I can see it starts to go into debug mode and then exits wihtout hitting a breakpoint.

Is there a work-around for this?

0

精彩评论

暂无评论...
验证码 换一张
取 消