mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-26 19:39:39 -08:00
64196fe6ad
resolves #2180
139 lines
3.1 KiB
JSON
139 lines
3.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Prompt",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}/src",
|
|
"args": [
|
|
"prompt",
|
|
"print",
|
|
"primary",
|
|
"--config=https://gist.githubusercontent.com/ehawman-rosenberg/50b3b695526f03690cfd396d02c2cca3/raw/c2e0bc78cdf551b0cc76f593e4fd70428f981c0e/eh-tea.omp.json",
|
|
"--shell=pwsh",
|
|
"--terminal-width=200",
|
|
]
|
|
},
|
|
{
|
|
"name": "Debug Tooltip",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}/src",
|
|
"args": [
|
|
"prompt",
|
|
"print",
|
|
"tooltip",
|
|
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
|
|
"--command=git",
|
|
"--shell=pwsh"
|
|
]
|
|
},
|
|
{
|
|
"name": "Debug Transient",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}/src",
|
|
"args": [
|
|
"prompt",
|
|
"print",
|
|
"transient",
|
|
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
|
|
"--shell=pwsh",
|
|
"--error=1"
|
|
]
|
|
},
|
|
{
|
|
"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": [
|
|
"prompt",
|
|
"debug",
|
|
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json"
|
|
]
|
|
},
|
|
{
|
|
"name": "Print init",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}/src",
|
|
"args": [
|
|
"prompt",
|
|
"init",
|
|
"cmd",
|
|
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
|
|
"--print"
|
|
]
|
|
},
|
|
{
|
|
"name": "Export PNG",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}/src",
|
|
"args": [
|
|
"config",
|
|
"export",
|
|
"png",
|
|
"--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",
|
|
"migrate",
|
|
"--config=${workspaceRoot}/themes/jandedobbeleer.omp.json",
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
},
|
|
{
|
|
"name": "Debug CLI(cache)",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "debug",
|
|
"program": "${workspaceRoot}/src",
|
|
"args": [
|
|
"cache",
|
|
]
|
|
},
|
|
]
|
|
}
|