Forums

Pylance [VS code] x PythonAnywhere

Hey Guys!

Wondering, is it possible to connect VS code to the servers of PythonAnywhere? Because, one of the key extensions that I tend to use on daily basis - Pylance, always crashes when connected to the server.

Are there any solutions?

Yeah what you could look at is developing on your local machine and syncing changes to PythonAnywhere via ssh. I think vscode has something builtin called "remote depoloyments" or something like that

Hello there, I'm facing the same issue. It's shame because my development cycle would be much shorter if I could make the Pylance extension work on pythonanywhere when using Microsoft Visual Studio code via SSH connection to my code sitting on pythonanywhere.com.

to add to my prior post, I tried the Pyright extension as an alternative to Pylance. It seems to be working.

Great, thanks for the update!