# Instructions for debugging

When developing Weixin Mini Program in the developer tools, it will behave differently depending on the project [Settings] - > [Capture Configuration] - > [Startup Mode] configuration:

  1. In "Autostart" mode: To avoid affecting debugging, collection is not automatically turned on. (less than 3.2.3 of the old version of the basic library will automatically open the collection, at this time the network panel will see some related requests, such as affecting the debugging of the new version of the basic library)
  2. In "custom startup" mode, collection is turned on whenever thesetupmethod is called, and if you don't want to enable it in the developer tools environment, you can judge that onlywx.getSystemInfoSync ().platform!= = 'devtools'calls thesetupmethod.