fixed dap config
This commit is contained in:
parent
4dc7351d8b
commit
57eb3586d9
@ -3,7 +3,12 @@ return {
|
|||||||
dependencies = {
|
dependencies = {
|
||||||
'mfussenegger/nvim-dap-python',
|
'mfussenegger/nvim-dap-python',
|
||||||
'theHamsta/nvim-dap-virtual-text',
|
'theHamsta/nvim-dap-virtual-text',
|
||||||
|
{
|
||||||
'rcarriga/nvim-dap-ui',
|
'rcarriga/nvim-dap-ui',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-neotest/nvim-nio'
|
||||||
|
}
|
||||||
|
},
|
||||||
'rcarriga/cmp-dap',
|
'rcarriga/cmp-dap',
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
@ -103,7 +108,7 @@ return {
|
|||||||
-- PYTHON
|
-- PYTHON
|
||||||
dap.adapters.python = {
|
dap.adapters.python = {
|
||||||
type = 'executable',
|
type = 'executable',
|
||||||
command = masonpath .. '/packages/debugpy/venv/' .. pythonVenv.getVenvSuffix(),
|
command = 'python',
|
||||||
args = { '-m', 'debugpy.adapter' },
|
args = { '-m', 'debugpy.adapter' },
|
||||||
options = {
|
options = {
|
||||||
detached = true,
|
detached = true,
|
||||||
@ -150,7 +155,7 @@ return {
|
|||||||
type = 'server',
|
type = 'server',
|
||||||
port = '${port}',
|
port = '${port}',
|
||||||
executable = {
|
executable = {
|
||||||
command = require'mason-core.path'.bin_prefix'codelldb';
|
command = require 'mason-core.path'.bin_prefix 'codelldb',
|
||||||
args = { '--port', '${port}' },
|
args = { '--port', '${port}' },
|
||||||
|
|
||||||
-- On windows you may have to uncomment this:
|
-- On windows you may have to uncomment this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user