When Using Google Chrome I Want To Debug Some Javascript

[Solved] When Using Google Chrome I Want To Debug Some Javascript | Shell - Code Explorer | yomemimo.com
Question : debug javascript in chrome

Answered by : mikkel-ben0499snqxn

// use console.log()
console.log("whatever you want to debug")
//the output will be.
whatever you want to debug
//you can also wright both variable and strings
let debug = 4
console.log("whatever you want to debug", debug);
//the output will be.
whatever you want to debug 4
//you can also do it like this
console.log(`whatever you want to debug ${debug}`);
//the output will still be.
whatever you want to debug 4

Source : | Last Update : Tue, 02 Nov 21

Answers related to when using google chrome i want to debug some javascript code how can i do that

Code Explorer Popular Question For Shell