How to show console.log()

hi experts!
want to know how i can show console.log in react js direct in vs code terminal instead of browser console

The code needs to run for the console.log to be executed, VSCode doesn’t run the code

no method there is ? means there no any extension to run code inside just like simple javacode does using runcoder extension

VSCode doesn’t run code natively, it’s an editor

Live server may be something you want to try

Or if you build your react app with CRA, then the running code with live server is included

cra means ? please explain

Create-React-App https://create-react-app.dev/

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.