Temporarily disabled debugging capabilities

This commit is contained in:
Fred Drake
2025-03-19 00:57:52 -04:00
parent 13c170f19a
commit c8ec1f4495
4 changed files with 44 additions and 44 deletions
+8 -8
View File
@@ -1,12 +1,12 @@
{pkgs, ...}: { {pkgs, ...}: {
extraConfigLua = '' # extraConfigLua = ''
local dap = require('dap') # local dap = require('dap')
dap.adapters.coreclr = { # dap.adapters.coreclr = {
type = 'executable', # type = 'executable',
command = '${pkgs.netcoredbg}/bin/netcoredbg', # command = '${pkgs.netcoredbg}/bin/netcoredbg',
args = {'--interpreter=vscode'} # args = {'--interpreter=vscode'}
} # }
''; # '';
} }
+2 -2
View File
@@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, ...}: {
plugins.dap-go.settings.delve.path = "${pkgs.delve}/bin/dlv"; # plugins.dap-go.settings.delve.path = "${pkgs.delve}/bin/dlv";
plugins.dap-go.enable = true; # plugins.dap-go.enable = true;
} }
+25 -25
View File
@@ -1,28 +1,28 @@
{pkgs, ...}: { {pkgs, ...}: {
plugins = { # plugins = {
dap = { # dap = {
enable = true; # enable = true;
adapters.servers = { # adapters.servers = {
"pwa-node" = { # "pwa-node" = {
host = "localhost"; # host = "localhost";
port = 8123; # port = 8123;
executable = { # executable = {
command = "${pkgs.vscode-js-debug}/bin/js-debug"; # command = "${pkgs.vscode-js-debug}/bin/js-debug";
}; # };
}; # };
}; # };
}; # };
}; # };
extraConfigLua = '' # extraConfigLua = ''
require("dap").configurations.javascript = { # require("dap").configurations.javascript = {
{ # {
type = "pwa-node", # type = "pwa-node",
request = "launch", # request = "launch",
name = "Launch file", # name = "Launch file",
program = "''${file}", # program = "''${file}",
cwd = "''${workspaceFolder}", # cwd = "''${workspaceFolder}",
}, # },
} # }
''; # '';
} }
+8 -8
View File
@@ -1,11 +1,11 @@
{pkgs, ...}: { {pkgs, ...}: {
plugins.dap-virtual-text.enable = true; # plugins.dap-virtual-text.enable = true;
plugins.dap-ui.enable = true; # plugins.dap-ui.enable = true;
plugins.dap = { # plugins.dap = {
enable = true; # enable = true;
adapters = { # adapters = {
executables = {lldb = {command = "${pkgs.lldb_19}/bin/lldb-dap";};}; # executables = {lldb = {command = "${pkgs.lldb_19}/bin/lldb-dap";};};
}; # };
}; # };
} }