class QQmlDebuggingEnabler#

Synopsis#

Methods#

Static functions#

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 StartMode#
__init__([printWarning=true])#
Parameters:

printWarning – bool

Note

This function is deprecated.

static connectToLocalDebugger(socketFileName[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient])#
Parameters:
Return type:

bool

static debuggerServices()#
Return type:

list of strings

static enableDebugging(printWarning)#
Parameters:

printWarning – bool

static inspectorServices()#
Return type:

list of strings

static nativeDebuggerServices()#
Return type:

list of strings

static profilerServices()#
Return type:

list of strings

static setServices(services)#
Parameters:

services – list of strings

static startDebugConnector(pluginName[, configuration=QVariantHash()])#
Parameters:
  • pluginName – str

  • configuration – Dictionary with keys of type .QString and values of type QVariant.

Return type:

bool

static startTcpDebugServer(port[, mode=QQmlDebuggingEnabler.StartMode.DoNotWaitForClient[, hostName=""]])#
Parameters:
  • port – int

  • modeStartMode

  • hostName – str

Return type:

bool