System environment: ubuntu 22.04 LTS,
vs code
remote connection to other computers or devices for programming.
vscode加载web 视图,报错:“Error: Could not register serviceworkers: InvalidstateError: Failed to ....
Solution:
- Close VS Code;
- Execute in terminal
code --no-sandbox
. VS Code
It will restart and can render and display remote图片
andmarkdown
files normally.
reference:
https://blog.csdn.net/m0_58724783/article/details/127879777