How to debug in the class? For example, in a project, all the variables are called. in the controller, you can use the new function to test the variables, but in lib, variables are returned after several file classes are processed. the variables that directly call the lib file have no value. only the variables that are called by the controller have a value. How to debug in the class?
For example, in a project, all the variables are called. in the controller, you can use the new function to test the variables, but in lib, variables are returned after several file classes are processed. the variables that directly call the lib file have no value. only the variables that are called by the controller have a value. But there are a lot of variables (mainly arrays) for this purpose, and there is no comment. apart from dead-end reading, is there any more convenient method?
------ Solution --------------------
For specific debugging, we suggest you use either of the following methods:
1. track the call information of the class/method and format it to the response page. for details about the method, refer to the blog:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service