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
+25 -25
View File
@@ -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}",
# },
# }
# '';
}