VSExtForEmscripten icon indicating copy to clipboard operation
VSExtForEmscripten copied to clipboard

Debugging: Break points are disabled.

Open aharondavid opened this issue 1 year ago • 4 comments

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

aharondavid avatar Jul 25 '24 05:07 aharondavid

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

vs

nokotan avatar Jul 27 '24 10:07 nokotan

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 2. Build the Project 3. Press on Debug and you will see an error: image

aharondavid avatar Jul 28 '24 06:07 aharondavid

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

nokotan avatar Aug 07 '24 07:08 nokotan

Hi Nokokan I have same problem. Is any thing wrong with my settings?

Debug Adapter Executable D:\Work\emsdk\node\16.20.0_64bit\bin\node.exe Server Command Executable D:\Work\emsdk\python\3.9.2-nuget_64bit\python.exe

image

fatmingwang avatar Sep 20 '24 04:09 fatmingwang

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Dec 19 '24 23:12 stale[bot]

This issue has been automatically closed as stale because it has not had recent activity. Feel free to reopen this issue as you needed.

stale[bot] avatar Jan 19 '25 00:01 stale[bot]