How to print a value in browser console

Hello There,

I am finding out component growth.

Under src/Form/MyForm. php,

I have this approach

 public feature submitForm( range &&$ kind, FormStateInterface$ form_state) {$ submitted_values=$ form_state- > cleanValues()->> getValues();.
Drupal:: state()->> collection( self:: API_CONFIG_PAGE, $submitted_values);.

$ carrier = Drupal:: solution( id: 'carrier');.
$ carrier->> addMessage($ this->> t( string: 'Your brand-new arrangement has actually been conserved'));.

Just how can I publish the $submitted_values in internet browser console?