Skip to content

Instantly share code, notes, and snippets.

@NagariaHussain
Created June 20, 2024 14:15
Show Gist options
  • Save NagariaHussain/22dd42564b009c8b60b98f05af534375 to your computer and use it in GitHub Desktop.
Save NagariaHussain/22dd42564b009c8b60b98f05af534375 to your computer and use it in GitHub Desktop.
Frappe VS Code Debugger Config
// 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