yazoox

JS/TS 引用第三方库的时候,能够 debug 进入该库的函数么?在有 sourcemap 的情况下?

  •  
  •   yazoox · Aug 14, 2020 · 2602 views
    This topic created in 2122 days ago, the information mentioned may be changed or developed.

    Typescript
    node 12.x.x

    本人开发的,比如叫 app
    引用了一个公司其它团队开发的库 比如 agent.

    现在调用 agent.getdata 的时候,总是出错,所以想 debug 进去。

    现在,我能够 sync 到 agent 的代码,编译都可以。即我有所有 agent 的源代码和编译后的 sourcemap 文件。

    但是怎么设置,可以让我在 vscode 里面 debug 进入到这个 agent.getdata 里面去?

    谢谢。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1011 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:12 · PVG 07:12 · LAX 16:12 · JFK 19:12
    ♥ Do have faith in what you're doing.