oh-my-posh/.vscode/launch.json
2022-02-12 18:48:08 +01:00

115 lines
2.6 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Prompt",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
"--shell=pwsh",
"--terminal-width=200",
]
},
{
"name": "Debug Tooltip",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
"--command=git",
"--shell=pwsh"
]
},
{
"name": "Debug Transient",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
"--shell=pwsh",
"--print-transient"
]
},
{
"name": "Launch tests",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceRoot}/src",
"args": [
"--test.v"
]
},
{
"name": "Print debug",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"--debug",
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json"
]
},
{
"name": "Print init pwsh",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"--print-init",
"--shell=pwsh",
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json"
]
},
{
"name": "Export PNG",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"--export-png",
"--shell=shell",
"--rprompt-offset=40",
"--cursor-padding=15",
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json"
]
},
{
"name": "Migrate config",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceRoot}/src",
"args": [
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
"--migrate"
]
},
{
"type": "node",
"request": "launch",
"name": "Theme export",
"cwd": "${workspaceFolder}/docs",
"program": "${workspaceRoot}/docs/export_themes.js",
"console": "integratedTerminal"
},
{
"name": "Docs API",
"type": "node",
"request": "attach",
"port": 9229,
"preDebugTask": "func: host start"
}
]
}