From c8ec1f4495b175cfcd9b0f4fa56844c51b01e5fa Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 19 Mar 2025 00:57:52 -0400 Subject: [PATCH] Temporarily disabled debugging capabilities --- config/csharp/debugging.nix | 18 ++++++------ config/golang/debugging.nix | 4 +-- config/javascript/debugging.nix | 50 ++++++++++++++++----------------- config/rust/debugging.nix | 16 +++++------ 4 files changed, 44 insertions(+), 44 deletions(-) diff --git a/config/csharp/debugging.nix b/config/csharp/debugging.nix index 6c36768..48f57fd 100644 --- a/config/csharp/debugging.nix +++ b/config/csharp/debugging.nix @@ -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'} + # } - ''; + # ''; } diff --git a/config/golang/debugging.nix b/config/golang/debugging.nix index a6aa98b..7888f60 100644 --- a/config/golang/debugging.nix +++ b/config/golang/debugging.nix @@ -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; } diff --git a/config/javascript/debugging.nix b/config/javascript/debugging.nix index f094e1a..dd8700d 100644 --- a/config/javascript/debugging.nix +++ b/config/javascript/debugging.nix @@ -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}", + # }, + # } + # ''; } diff --git a/config/rust/debugging.nix b/config/rust/debugging.nix index b758aff..fc6ca5f 100644 --- a/config/rust/debugging.nix +++ b/config/rust/debugging.nix @@ -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";};}; + # }; + # }; }