简体   繁体   中英

Visual Studio Code Debugger can't see arrays data

I'm using Ionic and I'm trying the debugger from Visual Studio Code, but I cant see array's data. The only thing that shows is [Object] and I can't click on it to expand the data inside of it. If I try to debug the App with "GapDebug" I can see it perfectly.

Is there any option I need to change or I need any plugin??

If I can't see array's data, then, what kind of debugger should I use for Ionic apps? I don't really like GapDebug.

Thanks!

您可以将数组字符串化:

console.log('DEBUG: ' + JSON.stringify(myArray));

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM