问题:明明装了GDB Debugger - Beyond但还是不能创建launch.json配置文件
报错:Unable to create 'launch.json' file inside the '.vscode' folder (Unable to write file 'vscode-remote://ssh-remote+192.168.47.132/usr/local/mysql_8.0.31/.vscode/launch.json' (NoPermissions (FileSystemError): Error: EACCES: permission denied, open '/usr/local/mysql_8.0.31/.vscode/launch.json')).
原因:权限不足
解决方法:
在VScode Terminal输入:
sudo su
ls -ld .vscode
此时我们发现
只有读权限,所以:
sudo chmod -R 777 .vscode
此时弹出launch.json
问题解决啦,希望对大家有所帮助!