A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
Error while debugging client-side Javascript on Edge/Chrome for Node app
I'm following the steps here: https://learn.microsoft.com/en-us/visualstudio/javascript/tutorial-nodejs-with-react-and-jsx?view=vs-2022
Everything is fine up until I try to attach to process onto the browser for debugging client-side. I'm getting an error in the output window:
Exception thrown at 0x00007FF8693B051C (KernelBase.dll) in msedge.exe: WinRT originate error - 0x83750007 : ''input': Value must not be empty.'.
As well as the attached DebugAdapterHost-jsdebug.log file
The log file seems to claim there is incomplete code...?
This results in the breakpoints not getting attached, even though I have made sure to close all other browser tabs/windows (except Firefox), and am trying to debug on Edge (which I never use and has no extensions installed).
I saw almost nothing online about this, just a lot of similar situations that didn't seem to offer working solutions.