woshichuanqilz
V2EX  ›  Electron

webstorm 怎么 attach 到 npm start 的进程上面去?

  •  
  •   woshichuanqilz · Mar 29, 2021 · 1878 views
    This topic created in 1918 days ago, the information mentioned may be changed or developed.

    用 typescript 写了一个 electron 程序, 现在想调试 render 部分, 需要先 npm start 然后在 attach, 但是不知道 npm start 之后怎么跟命令行参数可以调试, electron 是有 remote debug 这个参数, 但是 npm 不知道怎么弄, 求教

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3150 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 13:44 · PVG 21:44 · LAX 06:44 · JFK 09:44
    ♥ Do have faith in what you're doing.