Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 19054

Python Debug not working on SSH FS (remote host)

$
0
0

Issue:

I am using VSCode version 1.69.1 on Mac (Version details at the bottom). From Mac, I connect to a remote repo using SSH FS

When I click on 'run'> 'Start Debugging' or 'Run Without Debugging' on a remote python file, the "Run and Debug pane opens" but the file is not run [![Pane is blank][1]][1]

The debugger works for local repos (hosted on Mac).

I have tried reinstalling the Python extension, removed the ~/.vscode-server on the remote server, re-install VSCode on the Mac but nothing seem to have helped.

This was earlier working (tried a week back) but unsure what changed.From the terminal (connected to remote host, rendered by SSH FS, I am able to runpython test.py and that works

Launch.json file for python

    // Use IntelliSense to learn about possible attributes.    // Hover to view descriptions of existing attributes.    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387"version": "0.2.0","configurations": [        {"name": "Python: Current File","type": "python","request": "launch","program": "${file}","console": "integratedTerminal","justMyCode": true        }    ]}

Version details

Commit: b06ae3b2d2dbfe28bca3134cc6be65935cdfea6aDate: 2022-07-12T08:21:51.333Z (1 day ago)Electron: 18.3.5Chromium: 100.0.4896.160Node.js: 16.13.2V8: 10.0.139.17-electron.0OS: Darwin x64 21.5.0
Id: Kelvin.vscode-sshfsDescription: File system, terminal and task provider using SSHVersion: 1.25.0Publisher: Kelvin SchoofsVS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=Kelvin.vscode-sshfs```  [1]: https://i.stack.imgur.com/elruD.png

Viewing all articles
Browse latest Browse all 19054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>