oh-my-posh/.vscode/launch.json
2023-01-27 15:18:43 +01:00

166 lines
3.2 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Primary",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"prompt",
"print",
"primary",
"--shell=pwsh",
"--terminal-width=200"
]
},
{
"name": "Tooltip",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"prompt",
"print",
"tooltip",
"--command=git",
"--shell=pwsh"
]
},
{
"name": "Transient",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"prompt",
"print",
"transient",
"--shell=pwsh",
"--error=1"
]
},
{
"name": "Launch tests",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceRoot}/src",
"args": [
"--test.v"
]
},
{
"name": "Debug",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"prompt",
"debug"
]
},
{
"name": "Init",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"prompt",
"init",
"cmd",
"--print"
]
},
{
"name": "Export Image",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"config",
"export",
"image"
]
},
{
"name": "Migrate config",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"config",
"migrate"
]
},
{
"name": "Migrate glyphs",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"config",
"migrate",
"glyphs"
]
},
{
"name": "Get value",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"get",
"accent"
]
},
{
"name": "Toggle segment",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"toggle",
"git"
]
},
{
"type": "node",
"request": "launch",
"name": "Theme export",
"cwd": "${workspaceFolder}/website",
"program": "${workspaceRoot}/website/export_themes.js",
"console": "integratedTerminal"
},
{
"name": "Docs API",
"type": "node",
"request": "attach",
"port": 9229,
"preLaunchTask": "func: host start",
"cwd": "${workspaceFolder}/website",
"envFile": "${workspaceFolder}/website/.env"
},
{
"name": "Debug CLI(cache)",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"cache"
]
}
]
}