Inject code for a new debug feature that calls console.trace when a specific method is called and this feature is enabled.
The class. Widget for example
The key of the property to watch. "paint" for example
Inject code for a new debug feature that calls console.trace when a specific method is called and this feature is enabled.