Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/debug/server_cdp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,6 @@ def variable name, obj
variable_ name, obj, 'object', description: "Hash(#{obj.size})", subtype: 'map'
when String
variable_ name, obj, 'string', description: obj
when Class, Module, Struct, Range, Time, Method
variable_ name, obj, 'object'
when TrueClass, FalseClass
variable_ name, obj, 'boolean'
when Symbol
Expand All @@ -921,7 +919,7 @@ def variable name, obj
end
variable_ name, obj, 'object', description: "#{obj.inspect}\n#{bt}", subtype: 'error'
else
variable_ name, obj, 'undefined'
variable_ name, obj, 'object'
end
end
end
Expand Down