rust-tools.nvim
rust-tools.nvim copied to clipboard
"A better debugging experience..." does not work with the latest version of vscode extension
When I follow the instructions in the readme for setting up nicer debugging https://github.com/simrat39/rust-tools.nvim#a-better-debugging-experience
and using the latest version of the vscode extension (1.7.0) I get the following error
codelldb exited with code 1 error message Error: "Either --connect or --port must be specified"
Seems like an argument specifying the port (of the client?) is required in the new version.
Relevant part of my config
local extension_path = vim.env.HOME .. '/.vscode/extensions/vadimcn.vscode-lldb-1.7.0/'
local codelldb_path = extension_path .. 'adapter/codelldb'
local liblldb_path = extension_path .. 'lldb/lib/liblldb.so'
Seems related to #157
Should be fixed in the https://github.com/simrat39/rust-tools.nvim/tree/modularize_and_inlay_rewrite branch