0

I am attempting to set up a remote debugging setup with VSCode. This involves using the remote-SSH extention, logging into the remote host, and then installing the appropriate extensions there. However, when I do this I get the following error, no matter which extension that I try to install:

2023-03-09 15:39:41.725 [info] Downloading the 'ms-vscode.cpptools' extension locally and install
2023-03-09 15:39:59.078 [info] Downloaded extension: ms-vscode.cpptools /Users/simonrose/Library/Application Support/Code/CachedExtensionVSIXs/ms-vscode.cpptools-1.14.4-linux-x64
2023-03-09 15:40:10.368 [error] Error: Cannot read the extension from /home/simonrose/.vscode-server/extensions/ms-vscode.cpptools-1.14.4
    at V.w (/home/simonrose/.vscode-server/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/out/vs/server/node/server.main.js:150:15988)
    at async ie.u (/home/simonrose/.vscode-server/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/out/vs/server/node/server.main.js:150:19332)
    at async ie.x (/home/simonrose/.vscode-server/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/out/vs/server/node/server.main.js:150:22465)
    at async ie.h (/home/simonrose/.vscode-server/bin/92da9481c0904c6adfe372c12da3b7748d74bdcb/out/vs/server/node/server.main.js:150:18978)

I have also tried installing these extensions from the command line using either

code --install-extension ms-vscode.cpptools

or by downloading the .vsix file and installing that. Each of these gives (essentially) the same error.

Some details about the setup:

Simon Rose
  • 381
  • 5
  • 11

0 Answers0