I just want to debug this code :
var x = 1;
a();
b();
console.log(x);
function a()
{
var x = 10;
console.log(x);
}
function b()
{
var x = 100;
console.log(x);
}
I simply made an index.js file and want to debug the code line by line? Then how to connect with the chrome dev tools?
It also gives me “Debug with Js terminal” option which I am not getting how to do.