1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 18:36:07 +01:00
mkdocs-material/.vscode/launch.json
2023-10-06 15:18:28 +02:00

66 lines
1.5 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Chrome",
"type": "chrome",
"request": "launch",
"runtimeArgs": [
"--disable-features=Translate",
"--incognito"
],
"preLaunchTask": "Start and watch for changes",
"url": "http://localhost:8000/",
"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": "Chrome + MkDocs server",
"configurations": ["Chrome", "MkDocs server"]
},
{
"name": "Chrome + MkDocs server (dirty)",
"configurations": ["Chrome", "MkDocs server (dirty)"]
}
]
}