Open jircdev opened 3 months ago
Thanks for filing. Adding this to our backlog.
@jircdev can you share your launch.json
and tasks.json
files? I was having the same Error as you, and some changes to the default files configurations seems to have fixed it. As you can see in this gif, the error surges when the browser is launched BEFORE the compilation is finished.
Environment (please complete the following information):
Describe the bug: The Microsoft Edge Tools for VS Code does not function as expected. The browser is supposed to open within VS Code tabs for debugging, but it doesn't launch visibly and seems to be stuck in headless mode despite settings indicating otherwise. The DevTools panel does not open, and the extension throws an error stating "Error while fetching list of available targets No available targets to attach."
Repro steps:
launch.json
with both default and documentation-specified parameters to launch Edge.Expected behavior: The expected behavior is for Microsoft Edge to open in a visible tab within VS Code, allowing for interaction with the DevTools directly within the IDE environment.
Additional context: The issue persists even after ensuring all settings for headless mode are disabled and after multiple restarts of both Edge and VS Code. Screenshots of the error messages and settings have been provided to illustrate the problem. Multiple methods documented for opening the browser and DevTools directly have failed to function as described.
AB#50580089