class_docstr: A client for debugpy.
class_docstr_tok: ["A","client","for","debugpy","."]
docstr: Connect to the tcp socket.
docstr_tok: ["Connect","to","the","tcp","socket","."]
code: def connect_tcp_socket(self):
      """Connect to the tcp socket."""
      self.debugpy_stream.socket.connect(self._get_endpoint())
      self.routing_id = self.debugpy_stream.socket.getsockopt(
          ROUTING_ID
      )
  
imports: import os
  import re
  import sys
  import typing
  from pathlib import Path
  import zmq
  from IPython.core.getipython import get_ipython
  from IPython.core.inputtransformer2 import leading_empty_lines
  from tornado.locks import Event
  from tornado.queues import Queue
  from zmq.utils import jsonapi
  from .compiler import get_file_name, get_tmp_directory, get_tmp_hash_seed
label_desc: Use image node_id 6 for calling the DebugpyClient obj's underlying member method code with example usage: obj.connect_tcp_socket() without return types