Skip to content

Commit

Permalink
added more vscode configs
Browse files Browse the repository at this point in the history
  • Loading branch information
drfho committed Nov 21, 2023
1 parent 3a7ddc0 commit 38ae68a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
*.egg-info/
*.pyc
.vscode/
//.vscode/
Products/zms/plugins/www/zms-all.min.js
Products/zms/plugins/www/i18n/*.js
Products/zms/__pycache__/*.pyc
dist/
dist/
docker/BAK/
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,31 @@
"action": "openExternally",
},
},
{
"name": "Python: ZMS4-Py2-ZEO",
"type": "python",
"request": "launch",
"module": "Zope2.Startup.run",
"justMyCode": false,
"console": "integratedTerminal",
"args": [
"-C/home/zope/instance/zms4_zeo/etc/zope_8087.conf",
"-Xdebug-mode=on",
],
"env": {
"PYTHONUNBUFFERED":"1",
"CONFIG_FILE": "/home/zope/instance/zms4_zeo/etc/zope_8087.conf",
"INSTANCE_HOME": "/home/zope/instance/zms4_zeo",
"CLIENT_HOME": "/home/zope/instance/zms4_zeo",
"PYTHON": "/home/zope/vpy27/bin/python",
"SOFTWARE_HOME": "/home/zope/vpy27/bin/"
},
"serverReadyAction":{
"pattern":"Zope Ready to handle requests",
"uriFormat": "http://127.0.0.1:8087/manage_main",
"action": "openExternally",
},
},
{
"name": "Docker: ZMS4-Py2-Dev",
"type": "python",
Expand Down
1 change: 1 addition & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
// https://marketplace.visualstudio.com/_apis/public/gallery/publishers/ms-python/vsextensions/python/2022.2.1924087327/vspackage
"version": "2.0.0",
"tasks": [
{
Expand Down

0 comments on commit 38ae68a

Please sign in to comment.