Seeing error message in code

Hi, I am having an error on Facebook.login this is my code:
`logIn(){
console.log(“prueba”);
var _authInfo;

Facebook.login(['public_profile','email'])
  .then((_response) => {
    console.log(_response);
    _authInfo = _response;

    return this._FBUserProfile();

  }).then((success) => {
    console.log('Success!!');firebase.auth.FacebookAuthProvider_Instance
    this.fbProfile = success;any).credential(_authInfo.authResponse.accessToken)


  })
  .catch((_error) => {
    console.log(_error);
  })

}`

On the console when the error comes up, it only display: 7 229109 log [object Object]

Is there a way ti see "inside"the error, i mean display the code of the error or the message, to understand the root of the error.

Thanks in advance

Nevermind i get the workaround.
For information i did it like this:
JSON.stringify( _error)

With that it displays me the error.