Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add cwd to dap-python launch configurations #163

Closed
wants to merge 1 commit into from

Conversation

devxpain
Copy link

The cwd field was missing from the launch configurations in dap-python.lua, causing issues when launching files from different directories. This commit adds the cwd field to all launch configurations, setting it to the current working directory using vim.fn.getcwd(). This ensures that the debugger correctly finds the necessary files and dependencies.

The `cwd` field was missing from the launch configurations in `dap-python.lua`, causing issues when launching files from different directories. This commit adds the `cwd` field to all launch configurations, setting it to the current working directory using `vim.fn.getcwd()`. This ensures that the debugger correctly finds the necessary files and dependencies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant