You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
“No-config debugging” feature cannot be used on NixOS #992
When using the "No-config debugging" feature provided by the plugin on NixOS, the following error message appears.
zsh: /home/ardenet/.vscode/extensions/ms-python.debugpy-2025.18.0-linux-x64/bundled/scripts/noConfigScripts/debugpy: bad interpreter: /bin/bash: no such file or directory
Reason
Due to Nixos's unique directory structure, the /bin directory doesn't contain binary executables. Instead, it maintains compatibility with traditional Linux distributions by preserving the special env command. Because the script <plugin_path>/bundled/scripts/noConfigScripts/debugpy uses the absolute path /bin/bash in its shebang, the script cannot run on NixOS. It is recommended to change it to #! /usr/bin/env bash to ensure the script runs correctly on different systems to the greatest extent possible.
Activity