How do you console.log in Atom?

Viewed 1997

I spent hours on this and can't find a way to do the most basic thing like put console.log("la"); in my code and print it inside Atom when i view the html with html preview package.

I used to have one called console-js and right click on the html preview to launch it, but now, right click does nothing, and this package has some bug that i can't fix Uncaught TypeError: Cannot read property 'getSelectedText' of undefined

I was offered a few packages that has nothing to do with my need :

Script
Console-log
Platformio IDE terminal
Console.

I just can't find a simple way to print a simple thing while running my code inside Atom ( means viewing an html page with Javascript).

Is there a package that do such a simple thing ?

1 Answers

Maybe you can use this:

View -> Developer -> Toggle Developer Tools

Example of console.log in Atom

Related