use mason way to get exe in dap config
This commit is contained in:
parent
4e0c89a4c8
commit
5fff121742
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user