Skip to content

Instantly share code, notes, and snippets.

@adifahmi
Last active February 28, 2020 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adifahmi/56c364e036b6e5621661e46241151c92 to your computer and use it in GitHub Desktop.
Save adifahmi/56c364e036b6e5621661e46241151c92 to your computer and use it in GitHub Desktop.
vscode setting & debugger for python example
{
// 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: Django",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/manage.py",
"env": {
"DEPLOY": "local",
"DEV_IP": "10.10.118.150",
"REDIS_DB": 6,
"DEV_PORT": 10005,
"HOME_URL": "localhost",
},
"args": [
"runserver",
// "--noreload",
"${DEV_IP}:10005"
],
"django": true
}
]
}
{
"window.titleBarStyle": "custom",
"files.exclude": {
"**/._*": true,
"**/*.pyc": true,
"**/__pycache__": true,
"**/.idea": true,
// "**/.vscode": true,
},
"files.watcherExclude": {
"**/venv/**": true
},
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"workbench.startupEditor": "newUntitledFile",
"window.zoomLevel": 0,
"workbench.iconTheme": "material-icon-theme",
"sync.autoDownload": true,
"sync.autoUpload": true,
"python.linting.pylintArgs": [
"--load-plugins=pylint_django"
],
"python.linting.flake8Args": [
"--ignore=F405, F403, E501, W504, E127, E731"
],
"indentRainbow.colors": [
"rgba(16,16,16,0.1)",
"rgba(16,16,16,0.2)",
"rgba(16,16,16,0.3)",
"rgba(16,16,16,0.4)",
"rgba(16,16,16,0.5)",
"rgba(16,16,16,0.6)",
"rgba(16,16,16,0.7)",
"rgba(16,16,16,0.8)",
"rgba(16,16,16,0.9)",
"rgba(16,16,16,1.0)"
],
"workbench.colorTheme": "Night Owl",
"extensions.ignoreRecommendations": true,
"vsicons.dontShowNewVersionMessage": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment