use mason way to get exe in dap config

This commit is contained in:
Oliver Hartmann 2023-09-21 12:48:04 +02:00
parent 4e0c89a4c8
commit 5fff121742

View File

@ -154,8 +154,7 @@ return {
type = 'server', type = 'server',
port = '${port}', port = '${port}',
executable = { executable = {
-- CHANGE THIS to your path! command = require'mason-core.path'.bin_prefix'codelldb';
command = masonpath .. '/bin/codelldb.cmd',
args = { '--port', '${port}' }, args = { '--port', '${port}' },
-- On windows you may have to uncomment this: -- On windows you may have to uncomment this: