Skip to content

Commit

Permalink
[Debug] Add vscode configuration files for module debugging and profi…
Browse files Browse the repository at this point in the history
…ling
  • Loading branch information
CVHub520 committed Aug 31, 2024
1 parent a986205 commit c807139
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug Python Module",
"type": "debugpy",
"request": "launch",
"module": "anylabeling.app",
"justMyCode": true
},
{
"name": "Profile Python Module",
"type": "debugpy",
"request": "launch",
"module": "cProfile",
"args": ["-o", "profile_output.prof", "-m", "anylabeling.app"],
"justMyCode": true
}
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.formatting.provider": "none"
}

0 comments on commit c807139

Please sign in to comment.