mirror of
https://github.com/hexedtech/codemp-vscode.git
synced 2024-11-22 15:34:49 +01:00
feat: allow setting remote debug via vim global
This commit is contained in:
parent
1a0c649845
commit
f7cba63456
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ vim.api.nvim_create_user_command('Connect',
|
||||||
table.insert(bin_args, "--host")
|
table.insert(bin_args, "--host")
|
||||||
table.insert(bin_args, args.fargs[1])
|
table.insert(bin_args, args.fargs[1])
|
||||||
end
|
end
|
||||||
|
if vim.g.codemp_remote_debug then
|
||||||
|
table.insert(bin_args, "--remote-debug")
|
||||||
|
table.insert(bin_args, vim.g.codemp_remote_debug)
|
||||||
|
end
|
||||||
if args.bang then
|
if args.bang then
|
||||||
table.insert(bin_args, "--debug")
|
table.insert(bin_args, "--debug")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue