The Visual Studio 2022 Error “Failed to launch debug adapter. Additional information may be available in the output window.”
I had the same issue with Visual Studio 2022. I could solve the issue by disabling the script debugging in the drop-down of green arrow where we run the project. Please see the following screenshot.