feat(dev): debugger configuration
This commit is contained in:
20
.vscode/launch.json
vendored
Normal file
20
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch APP",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceFolder}/main.go"
|
||||
},
|
||||
{
|
||||
"name": "Launch APP (Dev)",
|
||||
"type": "go",
|
||||
"request": "launch",
|
||||
"mode": "debug",
|
||||
"program": "${workspaceFolder}/main.go",
|
||||
"args": [ "-dev" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -24,11 +24,15 @@
|
||||
in {
|
||||
devShells = forAllSystems (system: pkgs: {
|
||||
default = pkgs.mkShell {
|
||||
CGO_ENABLED = "0";
|
||||
hardeningDisable = ["all"];
|
||||
|
||||
buildInputs = with pkgs; [
|
||||
# Javascript tools
|
||||
eslint_d
|
||||
nodejs_22
|
||||
nodePackages_latest.eslint
|
||||
|
||||
# Go tools
|
||||
go
|
||||
gofumpt
|
||||
@@ -37,6 +41,7 @@
|
||||
gotools
|
||||
delve
|
||||
(templ system)
|
||||
|
||||
# Sqlite tools
|
||||
sqlite
|
||||
lazysql
|
||||
|
||||
Reference in New Issue
Block a user