Widget Inspector
================

wxPython provides a `Widget Inspection Tool`_ that can be enabled for debugging and development purposes in CellProfiler.

When enabled, the widget inspector can be accessed from *Test > Widget Inspector*.

To enable the widget inspector from command line, include the ``--widget-inspector`` flag when invoking ``cellprofiler``.

To enable the widget inspector, and to persist it across sessions without the need to provide a command line flag, go to CellProfiler preferences 
and toggle the checkbox next to "Enable widget inspector".

.. _Widget Inspection Tool: https://wiki.wxpython.org/How%20to%20use%20Widget%20Inspection%20Tool%20-%20WIT%20%28Phoenix%29