前言
環境 Debian11
平臺 國內阿里雲
第一步
https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run
vscode-ripgrep相關報錯
確保443 80端口的開放
阿里雲服務器則需要去面板配置
Building fresh packages 太慢?
nano .yarnrc
registry "https://registry.npm.taobao.org"
sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
phantomjs_cdnurl "http://cnpmjs.org/downloads"
electron_mirror "https://npm.taobao.org/mirrors/electron/"
sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"
後話
和本地運行的vscode還是有差別的,開箱即用應該是不可能的
https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run
https://www.jianshu.com/p/144ef0456bf5
https://www.cnblogs.com/lee-li/p/12041546.html