microsoft / microsoft/vscode-python-debugger
add ${workspaceFolder} to "PYTHONPATH" in launch.json by default
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 126
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
Hi, I'm new User of VScode. Previously I used Jetbrains Pycharm and not for a long time ago switched to VSCode.
Please add
"env": {
"PYTHONPATH": "${workspaceFolder};${env:PYTHONPATH}"
}
as default configuration parameters, when create to launch.json
Pycharm did it for a long time ago
Thank you in advance
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the code path that creates launch.json and reviewing how its default configurations are assembled. Check how the requested PYTHONPATH environment entry should be represented across supported platforms, then verify that newly generated launch.json files include the requested default without breaking existing settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript, vscode
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100