
    "e	                     b    d dl Z d dlZd Zd Zedk(  r e ee j
                  dd              yy)    Nc                    i }d|d<   d|d<   d|d<   d|d<   d|d	<   d}|t        |       k  r| |   d
k(  r| |= t        | |         |d<   | |= nd| |   dk(  r| |= t        | |         |d<   | |= nD| |   dk(  r| |= | |   |d<   | |= n-| |   dk(  r| |= | |   |d<   | |= n| |   dk(  r| |= | |   |d	<   | |= |t        |       k  r|d   s4t        j                  j	                  d       t        j
                  d       |S )Ni.  portr   pidz	127.0.0.1host protocolz
debug-modez--portz--pidz--hostz
--protocolz--debug-modezExpected --pid to be passed.
   )lenintsysstderrwriteexit)argvsetupis      H/usr/lib/python3/dist-packages/pydevd_attach_to_process/attach_pydevd.pyprocess_command_liner      sL   EE&ME%LE&ME*E,	A
c$i-7hQQLE&MQ!WQtAw<E%LQ!W Q GE&MQ!W$Q $QE*Q!W&Q"&q'E,Q1 c$i-4 <

9:L    c                 &   t         j                  j                  t        j                  j	                  t
                     dd l}d}t        j                  j	                  t        j                  j	                  t
                    }t         j                  dk(  r~|j                  dd      | d<   t        j                  j	                  t
              j                  dd      | d<   dj                  dd	      j                  d
d	      j                  dd	      }n]|| d<   t        j                  j	                  t
              | d<   dj                  dd	      j                  d
d	      j                  dd	      }|| z  }|j                  | d   |d|       y )Nr   win32\/
pythonpathpythonpath2zimport sys;
sys.path.append("%(pythonpath)s");
sys.path.append("%(pythonpath2)s");
import attach_script;
attach_script.attach(port=%(port)s, host="%(host)s", protocol="%(protocol)s", debug_mode="%(debug-mode)s");
z
r   
zimport sys;
sys.path.append(\"%(pythonpath)s\");
sys.path.append(\"%(pythonpath2)s\");
import attach_script;
attach_script.attach(port=%(port)s, host=\"%(host)s\", protocol=\"%(protocol)s\", debug_mode=\"%(debug-mode)s\");
r   T)connect_debugger_tracingshow_debug_info)
r   pathappendosdirname__file__add_code_to_python_processplatformreplacerun_python_code)r   r%   !show_debug_info_on_target_processpydevd_dirnamepython_codes        r   mainr,   .   s;   HHOOBGGOOH-.%()%WW__RWW__X%>?N
||w,44T3?l!wwx8@@sKm
 GFBb)''$*; 	 -l!wwx8m
 GFBb)''$*; 	 %K..ekDRs / ur   __main__r	   )r   r"   r   r,   __name__r    r   r   <module>r0      s?    
 	&Ru@ z	chhqrl	+, r   