RubyMine debugger prints a lot of stuff?

已回答

Here's a screenshot of my debugger window:

 

What's all of that stuff in there? `@_already_called`, `@commited_already_called`, etc. I don't need any of that and I just want to see output of the `resource` variable.

 Is there a way to hide all of this extra stuff?

0

Also, when I try to print specific fields from `resource`, such as ID, this is the autocomplete that I get:
 

Why is this autocomplete not suggesting `id` instead of `__id__`?

0

Hello,

Regarding the first issue, all of the "@_...." lines are from Rails. Sometimes having all the instance variables shown can be very useful. If you don't need them, you can use the arrow on the left that allows to collapse the fields view.

As for the _id_ instead of id, this is because we are lacking type support/completion in your context. If you have a specific use-case and can show us what resource is and where it's from (meaning, how should RubyMine know its type), then it'd help us to investigate it further how that can be improved.

0

请先登录再写评论。