Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

1.5 KB
Raw Blame
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "compounds": [
        {
            "name": "Full Stack",
            "configurations": ["Launch Backend", "Launch Frontend"],
            "stopAll": true
        }
    ],
    "configurations": [
        {
            "name": "Launch Backend",
            "type": "go",
            "request": "launch",
            "mode": "debug",
            "program": "${workspaceFolder}/backend/app/api/",
            "args": [],
            "env": {
                "HBOX_DEMO": "true",
                "HBOX_LOG_LEVEL": "debug",
                "HBOX_DEBUG_ENABLED": "true"
            },
            "console": "integratedTerminal",
        },
        {
            "name": "Launch Frontend",
            "type": "node",
            "request": "launch",
            "runtimeExecutable": "pnpm",
            "runtimeArgs": [
                "run",
                "dev"
            ],
            "cwd": "${workspaceFolder}/frontend",
            "serverReadyAction": {
                "action": "debugWithChrome",
                "pattern": "Local: +http://localhost:([0-9]+)",
                "uriFormat": "http://localhost:%s",
                "webRoot": "${workspaceFolder}/frontend"
            },
            "console": "integratedTerminal",
        }
    ]
}