简体   繁体   中英

Wechat Miniprogram debug page's stack

I need to see the navigation flow between my pages in wechat miniprogram. I have searched the net and have not seen how I can see the pages that are in the stack.

My question is:

Is it possible to debug the page stack in wechat miniprogram from the IDE?

Use the method of "getCurrentPages()" when you need. When the page stack change, the return data of method will not change.You must use it again to get the lastest data.

Otherwise, you can use the parameter of "debug" in "project.config.json". With opening it, when the page stack change you can see it.

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