Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.8k views
in Technique[技术] by (71.8m points)

VS Code > Remote Development > Extensions / keyboard shortcuts does not work on remote workspace and cannot set breakpoints in powershell scripts

I have installed the VS Code Remote Development Extension pack and Remote SSH and is having my first go at connecting to remote workspace.

I am on Server 2019 w/gui connecting to Server 2019 w/gui and are developing some PowerShell scripts. That appears all to work amazingly well. I write the code in vs code on my local machine and the Scripts are being executed on the Remote box when I use the integrated terminal. Amazing :)

Problem is that some of my VS Code extensions does not work and I cannot set break points.

I have followed this guide when configuring remote development. https://code.visualstudio.com/docs/remote/ssh-tutorial

"Visual Studio KeyMap"

  • When opening a folder from my local disk "ctrl + k + d" formats the documents.
  • When opening the remote workspace "ctrl + k + d" does nothing

"Setting break points"

  • When opening a folder from my local disk I can set a break point by clicking next to the line number
  • When opening a folder from the remote computer I cannot set a break. Nothing is happening.

I have tried to reinstall the Visual Studio KeyMap extension but that has no effect.

Is there any additional configuration I need?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...