Closed Balandino closed 8 months ago
Could you share the output of :lua print(vim.loop.os_uname().sysname)
?
Hello,
Sorry for the delay in getting back to you. The output of that command is:
MINGW32_NT-10.0
My Neovim should just be the .msi for Windows downloaded from the official github,
Thanks, I changed the logic with https://github.com/mfussenegger/nvim-dap-python/pull/120
Hello,
I setup dap-python and hit a problem detecting my virtual environment in Windows. My setup is as follows:
However when I attempted to run dap it kept appending /bin/python to the debugger command. I swapped out the is_windows() command from dap-python.lua (line 45) from:
to the following:
and it worked perfectly, appending \Scripts\python as needed. Unsure if this is a bug in my setup or the the plugin itself so reporting here. When I ran the original code for is_windows() it seemed to just return nil.
Please let me know if you require. more information and I'll see what I can do.