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

  1. cmd+p type command debug: start debuging (it available command, select it)

  2. my app starts, debug console tab shows lines no line console.log command shown

debug > start debugging f5 , see output @ debug console


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -