Created
June 20, 2024 14:15
-
-
Save NagariaHussain/22dd42564b009c8b60b98f05af534375 to your computer and use it in GitHub Desktop.
Frappe VS Code Debugger Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open bench folder in VS Code | |
{ | |
// 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": "Bench", | |
"type": "python", | |
"request": "launch", | |
"justMyCode": false, | |
"program": "${workspaceFolder}/apps/frappe/frappe/utils/bench_helper.py", | |
"args": [ | |
"frappe", "serve", "--port", "8007", "--noreload", "--nothreading" | |
], | |
"python": "${workspaceFolder}/env/bin/python", | |
"cwd": "${workspaceFolder}/sites", | |
"env": { | |
"DEV_SERVER": "1" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment