QQmlDebuggingEnabler#
Synopsis#
Static functions#
def
connectToLocalDebugger
(socketFileName[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient])def
debuggerServices
()def
enableDebugging
(printWarning)def
inspectorServices
()def
nativeDebuggerServices
()def
profilerServices
()def
setServices
(services)def
startDebugConnector
(pluginName[, configuration=QVariantHash()])def
startTcpDebugServer
(port[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient[, hostName=””]])
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.QtQml.QQmlDebuggingEnabler([printWarning=true])#
Note
This constructor is deprecated.
- Parameters:
printWarning – bool
- PySide6.QtQml.QQmlDebuggingEnabler.StartMode#
- static PySide6.QtQml.QQmlDebuggingEnabler.connectToLocalDebugger(socketFileName[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient])#
- Parameters:
socketFileName – str
mode –
StartMode
- Return type:
bool
- static PySide6.QtQml.QQmlDebuggingEnabler.debuggerServices()#
- Return type:
list of strings
- static PySide6.QtQml.QQmlDebuggingEnabler.enableDebugging(printWarning)#
- Parameters:
printWarning – bool
- static PySide6.QtQml.QQmlDebuggingEnabler.inspectorServices()#
- Return type:
list of strings
- static PySide6.QtQml.QQmlDebuggingEnabler.nativeDebuggerServices()#
- Return type:
list of strings
- static PySide6.QtQml.QQmlDebuggingEnabler.profilerServices()#
- Return type:
list of strings
- static PySide6.QtQml.QQmlDebuggingEnabler.setServices(services)#
- Parameters:
services – list of strings
- static PySide6.QtQml.QQmlDebuggingEnabler.startDebugConnector(pluginName[, configuration=QVariantHash()])#
- Parameters:
pluginName – str
configuration – Dictionary with keys of type .QString and values of type QVariant.
- Return type:
bool