nokotan / VSExtForEmscripten

emcc support for Visual Studio 2017, 2019, 2022
MIT License
22 stars 12 forks source link

Debugging: Break points are disabled. #33

Open aharondavid opened 1 month ago

aharondavid commented 1 month ago

Hi, I can successfully do Debugging in Chrome but from Visual Studio the Break points are in disable state. When I run VS Debug, the App is raised in Chrome by emrun but the Break Points are disabled.

here are my VS settings of Web Browser Debugger and Local Windows Debugger:

Web Browser Debugger: image

Local Windows Debugger: image

nokotan commented 1 month ago

Please switch the debugger from "Web Browser Debugger" or "Local Windows Debugger" to "WebAssembly Debugger".

vs
aharondavid commented 1 month ago

Still in disable. I had updated the VS Emscripten Packages.

Reproduced also on a new Project: Step to reproduce: 1: Create a new Project: image

  1. Build the Project
  2. Press on Debug and you will see an error: image
nokotan commented 1 month ago

Does "Debug Adapter Executable" point to a valid path? node.js and python installation (bundled version with emsdk is also ok) are required for WebAssembly Debugger to work.

image