javascript - How to output debug statements to console in Visual Studio Code -
how write console .js method?
console.log
not showing in console tab in visual studio code
here example of method
_onpressitem = (index) => { console.log("property finder >> pressed row: "+index); };
this triggered when press on item in listview. if run through xcode, see console.log
line above printed in xcode. if debug in vscode, see no console.log
line being printed @ all.
my steps: 1. open project in vscode vs code has installed react-native tools already
cmd+p
type commanddebug: start debuging
(it available command, select it)my app starts, debug console tab shows lines no line
console.log
command shown
debug > start debugging f5
, see output @ debug console
Comments
Post a Comment