Attach visual studio debugger to electron app

后端 未结 3 764
梦谈多话
梦谈多话 2020-12-29 07:15

I\'m attempting to debug electron app from visual studio 2017 (and not vscode) from scratch.

I created a console nodejs project, install and save electron. Project s

3条回答
  •  感情败类
    2020-12-29 07:59

    • First you have to configure your Visual Studio to GitHub Symbols.
    • Attaching to and Debugging Electron -> To start a debugging session, open up PowerShell/CMD and execute your debug build of Electron, using the application to open as a parameter.

      $ ./out/D/electron.exe ~/my-electron-app/
      
    • For complete documentation read here.


    For seeing why symbols are not loading type the following commands in Windbg.

    > !sym noisy
    > .reload /f electron.exe
    

    Creating an Electron app using Visual Studio (not VSCode) w/ Node.js tools

提交回复
热议问题