mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Updated VS Code debug configurations
This commit is contained in:
parent
6990976793
commit
dcf5a80ef7
33
.vscode/launch.json
vendored
33
.vscode/launch.json
vendored
@ -12,6 +12,39 @@
|
||||
"url": "http://localhost:8000/mkdocs-material/",
|
||||
"webRoot": "${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": "."
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
@ -21,6 +21,12 @@
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "silent"
|
||||
},
|
||||
"problemMatcher": {
|
||||
"background": {
|
||||
"beginsPattern": "material\/templates\/redirect",
|
||||
"endsPattern": "."
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user