forked from Shinonome/fred-neovim
Temporarily disabled debugging capabilities
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
{ pkgs, ... }: {
|
||||
extraConfigLua = ''
|
||||
local dap = require('dap')
|
||||
{pkgs, ...}: {
|
||||
# extraConfigLua = ''
|
||||
# local dap = require('dap')
|
||||
|
||||
dap.adapters.coreclr = {
|
||||
type = 'executable',
|
||||
command = '${pkgs.netcoredbg}/bin/netcoredbg',
|
||||
args = {'--interpreter=vscode'}
|
||||
}
|
||||
# dap.adapters.coreclr = {
|
||||
# type = 'executable',
|
||||
# command = '${pkgs.netcoredbg}/bin/netcoredbg',
|
||||
# args = {'--interpreter=vscode'}
|
||||
# }
|
||||
|
||||
'';
|
||||
# '';
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{pkgs, ...}: {
|
||||
plugins.dap-go.settings.delve.path = "${pkgs.delve}/bin/dlv";
|
||||
plugins.dap-go.enable = true;
|
||||
# plugins.dap-go.settings.delve.path = "${pkgs.delve}/bin/dlv";
|
||||
# plugins.dap-go.enable = true;
|
||||
}
|
||||
|
||||
@@ -1,28 +1,28 @@
|
||||
{pkgs, ...}: {
|
||||
plugins = {
|
||||
dap = {
|
||||
enable = true;
|
||||
adapters.servers = {
|
||||
"pwa-node" = {
|
||||
host = "localhost";
|
||||
port = 8123;
|
||||
executable = {
|
||||
command = "${pkgs.vscode-js-debug}/bin/js-debug";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
# plugins = {
|
||||
# dap = {
|
||||
# enable = true;
|
||||
# adapters.servers = {
|
||||
# "pwa-node" = {
|
||||
# host = "localhost";
|
||||
# port = 8123;
|
||||
# executable = {
|
||||
# command = "${pkgs.vscode-js-debug}/bin/js-debug";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
extraConfigLua = ''
|
||||
require("dap").configurations.javascript = {
|
||||
{
|
||||
type = "pwa-node",
|
||||
request = "launch",
|
||||
name = "Launch file",
|
||||
program = "''${file}",
|
||||
cwd = "''${workspaceFolder}",
|
||||
},
|
||||
}
|
||||
'';
|
||||
# extraConfigLua = ''
|
||||
# require("dap").configurations.javascript = {
|
||||
# {
|
||||
# type = "pwa-node",
|
||||
# request = "launch",
|
||||
# name = "Launch file",
|
||||
# program = "''${file}",
|
||||
# cwd = "''${workspaceFolder}",
|
||||
# },
|
||||
# }
|
||||
# '';
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{pkgs, ...}: {
|
||||
plugins.dap-virtual-text.enable = true;
|
||||
plugins.dap-ui.enable = true;
|
||||
plugins.dap = {
|
||||
enable = true;
|
||||
# plugins.dap-virtual-text.enable = true;
|
||||
# plugins.dap-ui.enable = true;
|
||||
# plugins.dap = {
|
||||
# enable = true;
|
||||
|
||||
adapters = {
|
||||
executables = {lldb = {command = "${pkgs.lldb_19}/bin/lldb-dap";};};
|
||||
};
|
||||
};
|
||||
# adapters = {
|
||||
# executables = {lldb = {command = "${pkgs.lldb_19}/bin/lldb-dap";};};
|
||||
# };
|
||||
# };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user