From 4af8944add28927dfd0a04b112d74f46e8edbe6e Mon Sep 17 00:00:00 2001 From: Hendy Irawan Date: Thu, 8 Oct 2020 14:05:43 +0700 Subject: [PATCH] build: Add honcho start to launch.json As recommended in `README.md` when Bench Web is debugged separately. --- development/.vscode/launch.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/development/.vscode/launch.json b/development/.vscode/launch.json index 2ed12780..efdc0903 100644 --- a/development/.vscode/launch.json +++ b/development/.vscode/launch.json @@ -60,5 +60,17 @@ "DEV_SERVER": "1" } }, + { + "name": "Honcho SocketIO Watch Schedule Worker", + "type": "python", + "request": "launch", + "pythonPath": "/usr/bin/python3", + "program": "/home/frappe/.local/bin/honcho", + "cwd": "${workspaceFolder}/frappe-bench", + "console": "internalConsole", + "args": [ + "start", "socketio", "watch", "schedule", "worker_short", "worker_long", "worker_default" + ] + } ] }