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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -