def wing_dbg():
    '\n    Make import of wingdbstub contingent on value of WING_DBG environment variable.\n\n    Also will import wingdbstub from the WINGHOME directory.\n    '
    if env_truthy('WING_DBG'):
        import sys
        import os
        save = sys.path
        new = (sys.path[:] + [os.environ['WINGHOME']])
        sys.path = new
        try:
            import wingdbstub
        finally:
            sys.path = save
Make import of wingdbstub contingent on value of WING_DBG environment variable.

Also will import wingdbstub from the WINGHOME directory.
def wing_dbg():
    '\n    Make import of wingdbstub contingent on value of WING_DBG environment variable.\n\n    Also will import wingdbstub from the WINGHOME directory.\n    '
    if env_truthy('WING_DBG'):
        import sys
        import os
        save = sys.path
        new = (sys.path[:] + [os.environ['WINGHOME']])
        sys.path = new
        try:
            import wingdbstub
        finally:
            sys.path = save