mirror of
https://github.com/inventree/InvenTree.git
synced 2026-07-19 21:17:03 +00:00
Worker debugging (#11677)
* Add debugging info for background workers to the devcontainer docs * Add debugging info the the EventMixin docs * Add an option to set sync=True to launch.json
This commit is contained in:
@@ -13,6 +13,9 @@ When a certain (server-side) event occurs, the background worker passes the even
|
||||
|
||||
{{ image("plugin/enable_events.png", "Enable event integration") }}
|
||||
|
||||
!!! info "Worker debugging"
|
||||
As the events are offloaded to a background worker debugging the `process_event()` function need some extra consideration. Please see the [Run background workers](../../develop/devcontainer.md#run-background-workers) section for further information.
|
||||
|
||||
## Events
|
||||
|
||||
Events are passed through using a string identifier, e.g. `build.completed`
|
||||
|
||||
Reference in New Issue
Block a user