I'm on a linux machine running vscode. I am trying to do some debugging but whenever I try to select the environment configuration I get the message, "Unable to create 'launch.json' file inside the '.vscode' folder ({0})."
I suspect it could be a permissions thing but when I try to run vscode as an elevated user I am warned not to. Instead it advises that I can change the user data directory. Will this fix my problem?
答案 0 :(得分:0)
经过一些挖掘,结果发现.vscode目录是在添加到vscode的每个项目的根文件夹中创建的。要解决该问题,我必须手动创建该文件夹,并授予vscode写入目录的权限。