Can't run or debug code in Parrot OS
See original GitHub issueEnvironment data
- VS Code version: 1.26.1
- Extension version: 2018.7.1
- OS and version: Parrot OS 4.2
- Python version: 3.6.6 32 bit (installed with
sudo apt install python3
) - Type of virtual environment used: N/A
- Relevant/affected Python packages and their versions: Every file that I try to debug
Actual behavior
Code does not run and debug does not start
Expected behavior
The code runs and I should be able to see variables and so on
Steps to reproduce:
- Open Visual Studio Code
- Open your workspace
- Press F5
- No debug or execution of code
Logs
Output for Python
in the Output
panel
Blank
Output for Python Debug Console
in the Terminal
panel
cd /home/test/Downloads/MyProject ; env "PYTHONIOENCODING=UTF-8" "PYTHONUNBUFFERED=1" /usr/bin/python3 /home/test/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles/PythonTools/visualstudio_py_launcher.py /home/test/Downloads/MyProject 37427 34806ad9-833a-4524-8cd6-18ca4aa74f14 RedirectOutput,RedirectOutput /home/test/Downloads/Projects/MyProject.py
Terminating the above command with Ctrl+C gives:
File "/home/test/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles/PythonTools/visualstudio_py_launcher.py", line 91, in <module>
vspd.debug(filename, port_num, debug_id, debug_options, currentPid, run_as)
File "/home/test/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles/PythonTools/visualstudio_py_debugger.py", line 2607, in debug
attach_process(port_num, debug_id, debug_options, currentPid, report = True)
File "/home/test/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles/PythonTools/visualstudio_py_debugger.py", line 2321, in attach_process
raise Exception('failed to attach')
Exception: failed to attach```
Output from `Console` under the `Developer Tools` panel
```Blank```
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Can't run or debug code in Parrot OS · Issue #2442 - GitHub
Open Visual Studio Code; Open your workspace; Press F5; No debug or execution of code. Logs. Output for Python in the Output panel...
Read more >Debugging Makefile Project with Visual Studio Code IDE ...
C++ Tutorial for Beginners Episode 10 where we Debug a Makefile Project with Visual ... https://youtu.be/Vblwblo9Vdw Parrot Security OS: ...
Read more >Parrot - CCTools Documentation - Read the Docs
This means Parrot cannot run a debugger, nor can it run itself recursively. In addition, Parrot cannot run setuid programs, as the operating...
Read more >Can't run debugging in Visual Studio Code on Chrome OS
How do I run a .html file in VS Code on Chrome OS? It sais I need to add the absolute path to...
Read more >VSCodium - Open Source Binaries of VSCode
VSCodium. Free/Libre Open Source Software Binaries of VS Code ... Microsoft's vscode source code is open source (MIT-licensed), ... Install on Parrot OS:....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok great! The experimental debugger is slated to become the default debugger very shortly, and we won’t be spending any effort fixing bugs with the current debugger at this point. Please continue to use the experimental debugger.
Thanks for responding!
With the Experimental Debugger it is working fine