Skip to content

Commit

Permalink
Fixed debug launch configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Oct 5, 2023
1 parent dcf5a80 commit 34aad07
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@
"--disable-features=Translate",
"--incognito"
],
"preLaunchTask": "Start and watch for changes",
"url": "http://localhost:8000/mkdocs-material/",
"webRoot": "${workspaceFolder}",
"sourceMaps": true,
"sourceMapPathOverrides": {
"*": "${workspaceFolder}/*"
},
"smartStep": true
},
{
Expand Down Expand Up @@ -46,5 +51,15 @@
"PYTHONPATH": "."
}
}
],
"compounds": [
{
"name": "Application + MkDocs server",
"configurations": ["Application", "MkDocs server"]
},
{
"name": "Application + MkDocs server (dirty)",
"configurations": ["Application", "MkDocs server (dirty)"]
}
]
}
10 changes: 9 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,16 @@
"reveal": "silent"
},
"problemMatcher": {
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"beginsPattern": "material\/templates\/redirect",
"beginsPattern": "material\/templates",
"endsPattern": "."
}
}
Expand Down
1 change: 0 additions & 1 deletion tools/build/transform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ export function transformScript(
write: false,
bundle: true,
sourcemap: true,
sourceRoot: path.relative(path.dirname(options.from), "."),
legalComments: "inline",
minify: process.argv.includes("--optimize"),
plugins: [
Expand Down

0 comments on commit 34aad07

Please sign in to comment.