How to set to True the setWebContentsDebuggingEnabled property on the android.webkit.WebView element?

Source: appium.io/docs/en/writing-running-appium/web/hybrid

How do I set to set to true the setWebContentsDebuggingEnabled property on the android.webkit.WebView element.

From the documentation, I see that the method setWebContentsDebuggingEnabled is accountable for debugging web contents and is default set to false. How do I set this to true for a Cordova Mobile App (hybrid) project ? But I do not see any setWebContentsDebuggingEnabled method, where is it located ?

How do I enable WebView for a Cordova Mobile App (Hybrid). Is there a setting in project files that enables the WebView ? Please advise.

Purpose:
I am trying to get context handles for this Hybrid Mobile App ( Cordova ) and I see only native. I need to be able to get WebView to interact with the mobile elements for UI testing using Appium.