mkdocs-material/.vscode/launch.json
2023-10-05 15:44:24 +02:00

66 lines
1.6 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Application",
"type": "chrome",
"request": "launch",
"runtimeArgs": [
"--disable-features=Translate",
"--incognito"
],
"preLaunchTask": "Start and watch for changes",
"url": "http://localhost:8000/mkdocs-material/",
"webRoot": "${workspaceFolder}",
"sourceMaps": true,
"sourceMapPathOverrides": {
"*": "${workspaceFolder}/*"
},
"smartStep": true
},
{
"name": "MkDocs",
"type": "python",
"request": "launch",
"preLaunchTask": "Start and watch for changes",
"program": "venv/bin/mkdocs",
"args": ["build"],
"env": {
"PYTHONPATH": "."
}
},
{
"name": "MkDocs server",
"type": "python",
"request": "launch",
"preLaunchTask": "Start and watch for changes",
"program": "venv/bin/mkdocs",
"args": ["serve", "--watch-theme"],
"env": {
"PYTHONPATH": "."
}
},
{
"name": "MkDocs server (dirty)",
"type": "python",
"request": "launch",
"preLaunchTask": "Start and watch for changes",
"program": "venv/bin/mkdocs",
"args": ["serve", "--watch-theme", "--dirtyreload"],
"env": {
"PYTHONPATH": "."
}
}
],
"compounds": [
{
"name": "Application + MkDocs server",
"configurations": ["Application", "MkDocs server"]
},
{
"name": "Application + MkDocs server (dirty)",
"configurations": ["Application", "MkDocs server (dirty)"]
}
]
}