Unity 2021 gives visual studio code error on debug

Hi All
I’ve just update unity to 2021.1.0f1. However when I try to connected the VSC debugger I get an “error while processing request launch exception could not find part of path … EditorInstance.json.” But the path is correct?

VSC also shows in problems

Starting OmniSharp server at 29/03/2021, 15:09:35
Target: /home/AJH/Dropbox/Unity3d/Projects/SD4-7-Achivements-2021/SD4-7-Achivements-2021.sln

OmniSharp server started.
Path: /home/AJH/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/run
PID: 25270

chmod: changing permissions of '/home/AJH/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/bin/mono': Operation not permitted
/home/AJH/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/run: line 27: /home/AJH/.vscode/extensions/ms-dotnettools.csharp-1.23.9/.omnisharp/1.37.6/bin/mono: Permission denied

It works fine for unity 2020, however I need to use 2021 for some new GUI functions. I think “Operation not permitted” in problems is the issue? Has anyone a solution to this? Thanks.

Found the answer. In 2021 for some reason it adds home user twice. So go into your json file and check the debug path and remove home/user from path