Visual Studio 2022 VUE3 Project Won't Start "Unable to start debugging"

Viewed 35

Background: I have a VUE3 WebApp created using the VS2022 templates https://docs.microsoft.com/en-us/visualstudio/javascript/tutorial-create-vue-app?view=vs-2022 that was working well on a desktop (Windows 10 Pro) and a laptop (Windows 11 Home); i.e. I could open Visual Studio 2022; have the WebApp as the start-up project; click run/debug and it would run up.

Current Issue: On the desktop this continues to work as expected; however on the laptop when I go to startup the WebApp I get a message "Unable to start debugging. The startup project cannot be launched. Ensure that the correct project is set as the startup project. .... Additionally make sure its debug settins are correctly configured in project properties"

Project Properties: the two machines have the same project properties; nothing really in there other than Startup Command is npm run serve

I don't believe I've changed anything and the two machines are using the same source control repository and branch; just wondering how I work around this / what might have changed. I've done Visual Studio 2022 Updates on both machines (so up to current version on both machines). One difference is on the WebApp project if I right click, select Debug, on the laptop the options are all greyed-out; on the desktop you can select "Start new instance", "Start new instance with debugging", etc..

Any ideas on what is happening here? Or troubleshooting steps I can take to resolve?

0 Answers
Related