如何在Visual Studio Code上remote
-
extension install remote developement
-
command/ctrl shift + p
搜索remote找到Remote-SSH : Connect to host -
add new ssh host
需要remote的用户和ip, 这里是wenting@10.70.152.164, 需要remote的host密码 -
完成,通过command shift +p
dev container: rebuild containers
5.run
注意container是否打开
command+shift+p : dev container–reopen the container
确定等待到container正确打开 如图所示