In theme_preprocess functions (e.g. theme_preprocess_block, theme_preprocess_menu, etc) there is the $variables argument.
In Drupal 7 I could look at this variable using devel module and typing dpm($variables).
How I can do that in Drupal 8?
I tried kint, dump and var_dump, but for all of them I get a fatal error memory exhausted.