woshichuanqilz
V2EX  ›  Electron

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

  •  
  •   woshichuanqilz · Mar 29, 2021 · 1835 views
    This topic created in 1899 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   ·   5957 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 06:12 · PVG 14:12 · LAX 23:12 · JFK 02:12
    ♥ Do have faith in what you're doing.