woshichuanqilz
V2EX  ›  Electron

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

  •  
  •   woshichuanqilz · Mar 29, 2021 · 1901 views
    This topic created in 1931 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   ·   6049 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 02:30 · PVG 10:30 · LAX 19:30 · JFK 22:30
    ♥ Do have faith in what you're doing.