I created a launch.json file for debugging with gdb but forgot to put gdb.exe on the path and got the following error message:
Debug adapter process has terminated unexpectedly: Cannot read property 'toLowerCase' of undefined
Please provide a more helpful error message to make it easier to catch problems like that.