@@ -44,10 +44,9 @@ module DEBUGGER__
44
44
open : [ 'RUBY_DEBUG_OPEN' , "REMOTE: Open remote port (same as `rdbg --open` option)" ] ,
45
45
port : [ 'RUBY_DEBUG_PORT' , "REMOTE: TCP/IP remote debugging: port" ] ,
46
46
host : [ 'RUBY_DEBUG_HOST' , "REMOTE: TCP/IP remote debugging: host" , :string , "127.0.0.1" ] ,
47
+ session_name : [ 'RUBY_DEBUG_SESSION_NAME' "REMOTE: Session name for differentiating multiple sessions" ] ,
47
48
sock_path : [ 'RUBY_DEBUG_SOCK_PATH' , "REMOTE: UNIX Domain Socket remote debugging: socket path" ] ,
48
49
sock_dir : [ 'RUBY_DEBUG_SOCK_DIR' , "REMOTE: UNIX Domain Socket remote debugging: socket directory" ] ,
49
- sock_suffix : [ 'RUBY_DEBUG_SOCK_SUFFIX' , "REMOTE: UNIX Domain Socket remote debugging: socket suffix" ] ,
50
- sock_prefix : [ 'RUBY_DEBUG_SOCK_PREFIX' , "REMOTE: UNIX Domain Socket remote debugging: socket prefix" ] ,
51
50
local_fs_map : [ 'RUBY_DEBUG_LOCAL_FS_MAP' , "REMOTE: Specify local fs map" , :path_map ] ,
52
51
skip_bp : [ 'RUBY_DEBUG_SKIP_BP' , "REMOTE: Skip breakpoints if no clients are attached" , :bool , 'false' ] ,
53
52
cookie : [ 'RUBY_DEBUG_COOKIE' , "REMOTE: Cookie for negotiation" ] ,
@@ -499,12 +498,6 @@ def self.unix_domain_socket_dir
499
498
def self . create_unix_domain_socket_name_prefix ( base_dir = unix_domain_socket_dir )
500
499
user = ENV [ 'USER' ] || 'UnknownUser'
501
500
filename = "ruby-debug-#{ user } "
502
- if !CONFIG [ :sock_prefix ] . nil?
503
- filename = "#{ CONFIG [ :sock_prefix ] } -#{ filename } "
504
- end
505
- if !CONFIG [ :sock_suffix ] . nil?
506
- filename += "-#{ CONFIG [ :sock_suffix ] } "
507
- end
508
501
File . join ( base_dir , filename )
509
502
end
510
503
0 commit comments