You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Deprecate* `open_frontend` and add `open` configuration. It is
consistent with `rdbg --open` option.
`RUBY_DEBUG_OPEN` is also introduced.
For example,
```
$ RUBY_DEBUG_OPEN=true ruby -r debug script.rb
```
opens the debug port remotely.
*`RUBY_DEBUG_LOCAL_FS_MAP` (`local_fs_map`): Specify local fs map
502
503
*`RUBY_DEBUG_SKIP_BP` (`skip_bp`): Skip breakpoints if no clients are attached (default: false)
503
504
*`RUBY_DEBUG_COOKIE` (`cookie`): Cookie for negotiation
504
-
*`RUBY_DEBUG_OPEN_FRONTEND` (`open_frontend`): frontend used by open command (vscode, chrome, default: rdbg).
505
505
*`RUBY_DEBUG_CHROME_PATH` (`chrome_path`): Platform dependent path of Chrome (For more information, See [here](https://github.com/ruby/debug/pull/334/files#diff-5fc3d0a901379a95bc111b86cf0090b03f857edfd0b99a0c1537e26735698453R55-R64))
local_fs_map: ['RUBY_DEBUG_LOCAL_FS_MAP',"REMOTE: Specify local fs map",:path_map],
47
48
skip_bp: ['RUBY_DEBUG_SKIP_BP',"REMOTE: Skip breakpoints if no clients are attached",:bool,'false'],
48
49
cookie: ['RUBY_DEBUG_COOKIE',"REMOTE: Cookie for negotiation"],
49
-
open_frontend: ['RUBY_DEBUG_OPEN_FRONTEND',"REMOTE: frontend used by open command (vscode, chrome, default: rdbg)."],
50
50
chrome_path: ['RUBY_DEBUG_CHROME_PATH',"REMOTE: Platform dependent path of Chrome (For more information, See [here](https://github.com/ruby/debug/pull/334/files#diff-5fc3d0a901379a95bc111b86cf0090b03f857edfd0b99a0c1537e26735698453R55-R64))"],
51
51
52
52
# obsolete
@@ -298,8 +298,25 @@ def self.parse_argv argv
298
298
'If TCP/IP options are not given, a UNIX domain socket will be used.',
299
299
'If FRONTEND is given, prepare for the FRONTEND.',
300
300
'Now rdbg, vscode and chrome is supported.')do |f|
301
-
config[:remote]=true
302
-
config[:open_frontend]=f.downcaseiff
301
+
302
+
casef# some format patterns are not documented yet
0 commit comments