I see that you are using "eslint-disable-line no-console" You need to remove this to have the console debug mode enabled.
Please see https://flaviocopes.com/how-to-disable-eslint-rule/ which says,
"Consider the case where your tooling set the no-debugger and no-console rules. There might be a valid reason for production code, but in development mode, having the ability to access the browser debugger and the Console API is essential. You can disable one or more specific ESLint rules for a whole file by adding on a few lines:
What is the error message you are seeing? Thanks
It just says unexpected token.
Please see https://flaviocopes.com/how-to-disable-eslint-rule/ which says,
"Consider the case where your tooling set the no-debugger and no-console rules.
There might be a valid reason for production code, but in development mode, having the ability to access the browser debugger and the Console API is essential.
You can disable one or more specific ESLint rules for a whole file by adding on a few lines:
Related: https://eslint.org/docs/rules/no-console.html
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you