Welcome to mirror list, hosted at ThFree Co, Russian Federation.

launch.json « .vscode - github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8a96970290d716f4592f9cc0cdcb4671b5e8f070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  "$schema": "vscode://schemas/launch",
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Run 3x-ui (Debug)",
      "type": "go",
      "request": "launch",
      "mode": "auto",
      "program": "${workspaceFolder}",
      "cwd": "${workspaceFolder}",
      "env": {
        "XUI_DEBUG": "true"
      },
      "console": "integratedTerminal"
    },
    {
      "name": "Run 3x-ui (Debug, custom env)",
      "type": "go",
      "request": "launch",
      "mode": "auto",
      "program": "${workspaceFolder}",
      "cwd": "${workspaceFolder}",
      "env": {
        // Set to true to serve assets/templates directly from disk for development
        "XUI_DEBUG": "true",
        // Uncomment to override DB folder location (by default uses working dir on Windows when debug)
        // "XUI_DB_FOLDER": "${workspaceFolder}",
        // Example: override log level (debug|info|notice|warn|error)
        // "XUI_LOG_LEVEL": "debug"
      },
      "console": "integratedTerminal"
    }
  ]
}