#NEWLINE# def add_debug_script( self ) : #NEWLINE# #INDENT# exec_path = os . path . abspath ( self . program ) #NEWLINE# debug_scp = ( DEBUG_TEMPLATE % exec_path ) #NEWLINE# debug_scp_fn = os . path . join ( self . tmpdir , 'debug.scp' ) #NEWLINE# debug_scp_fd = open ( debug_scp_fn , 'wb' ) #NEWLINE# debug_scp_fd . write ( debug_scp ) #NEWLINE# debug_scp_fd . close ( ) #NEWLINE# return debug_scp_fn