Closed ko1 closed 1 year ago
If there is only one opening debug port with UNIX domain socket, no need to use HEAD request.
Before:
$ exe/rdbg -O target.rb DEBUGGER: Debugger can attach via UNIX domain socket (/run/user/1000/ruby-debug-ko1-223816) DEBUGGER: wait for debugger connection... DEBUGGER: Connected. DEBUGGER: GreetingError: HEAD request DEBUGGER: Disconnected. DEBUGGER: Connected.
After:
$ exe/rdbg -O target.rb DEBUGGER: Debugger can attach via UNIX domain socket (/run/user/1000/ruby-debug-ko1-223984) DEBUGGER: wait for debugger connection... DEBUGGER: Connected.
If there is only one opening debug port with UNIX domain socket, no need to use HEAD request.
Before:
After: