feat: vscode
This commit is contained in:
parent
73ee5bb77b
commit
b302407d58
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,7 +2,7 @@
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
*$$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
21
.vscode/launch.json
vendored
Normal file
21
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
// 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": "Python Debugger: Current File",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "$${file}",
|
||||
"console": "integratedTerminal"
|
||||
},
|
||||
{
|
||||
"name": "Python Debugger: $REPO_NAME_TITLE",
|
||||
"type": "debugpy",
|
||||
"request": "launch", // run the module
|
||||
"program": "$${workspaceFolder}/.vscode/run_script.py",
|
||||
}
|
||||
]
|
||||
}
|
3
.vscode/run_script.py
vendored
Normal file
3
.vscode/run_script.py
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
from $REPO_NAME_SNAKE.__main__ import cli
|
||||
|
||||
cli()
|
Loading…
Reference in New Issue
Block a user