Visual Studio Code not working
I wanted to do development in a secure environment with Visual Studio Code. However, after installing from the .deb, and attempting to debug a python script I get the error:
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/amnesia/.vscode/extensions/ms-python.python-2021.11.1422169775/pythonFiles/lib/python/debugpy/launcher/__main__.py", line 97, in <module>
main()
File "/home/amnesia/.vscode/extensions/ms-python.python-2021.11.1422169775/pythonFiles/lib/python/debugpy/launcher/__main__.py", line 53, in main
launcher.connect(host, port)
File "/home/amnesia/.vscode/extensions/ms-python.python-2021.11.1422169775/pythonFiles/lib/python/debugpy/launcher/../../debugpy/launcher/__init__.py", line 34, in connect
sock.connect((host, port))
ConnectionRefusedError: [Errno 111] Connection refused
Is there any solution for this?