{"category":{"version":"588861fa165af631008ee1b8","project":"54861bb654b3ce0b00367292","_id":"588861fa165af631008ee1ba","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-12-08T21:55:25.679Z","from_sync":false,"order":1,"slug":"1-setup","title":"iOS / App Triggers"},"parentDoc":null,"project":"54861bb654b3ce0b00367292","user":"54861b9f3681d914006992a4","version":{"__v":1,"_id":"588861fa165af631008ee1b8","project":"54861bb654b3ce0b00367292","createdAt":"2017-01-25T08:29:46.061Z","releaseDate":"2017-01-25T08:29:46.061Z","categories":["588861fa165af631008ee1b9","588861fa165af631008ee1ba","588861fa165af631008ee1bb","588861fa165af631008ee1bc","588861fa165af631008ee1bd","588861fa165af631008ee1be","588861fa165af631008ee1bf","588861fa165af631008ee1c0","588861fa165af631008ee1c1","588861fa165af631008ee1c2","588861fa165af631008ee1c3","588861fa165af631008ee1c4","588861fa165af631008ee1c5","588861fa165af631008ee1c6","588861fa165af631008ee1c7","588861fa165af631008ee1c8","588861fa165af631008ee1c9"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"5.0.0","version":"5.0"},"_id":"588861fa165af631008ee1d8","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-12-17T11:39:20.836Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":14,"body":"Development mode is activated by default after initiating a session with negative `inProduction` value.\n\nDRAFT\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"[ECSessionParams createInProduction:NO];\",\n      \"language\": \"objectivec\"\n    },\n    {\n      \"code\": \"ECSessionParams .createInProduction(false)\",\n      \"language\": \"swift\"\n    }\n  ]\n}\n[/block]\nWhile in development mode, the following will apply:\n\n* All draft segments will be included while the segment response is being calculated.\n* All user interactions (beside events and syncs) will be excluded from your analytics calculations. \n[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"Before uploading the app to the app store\",\n  \"body\": \"Don't forget to change the inProduction to possitive value\"\n}\n[/block]\nWhile in production mode the following logic apply:\n\n* During the segment response calculation phase, only production segments will be analyzed.\n* All user interactions will be analyzed. \n* Any new definition for either a moment,  a BackView experience, cases or dynamic objects will not apply.","excerpt":"","slug":"15-debug-mode","type":"basic","title":"Development Mode"}
Development mode is activated by default after initiating a session with negative `inProduction` value. DRAFT [block:code] { "codes": [ { "code": "[ECSessionParams createInProduction:NO];", "language": "objectivec" }, { "code": "ECSessionParams .createInProduction(false)", "language": "swift" } ] } [/block] While in development mode, the following will apply: * All draft segments will be included while the segment response is being calculated. * All user interactions (beside events and syncs) will be excluded from your analytics calculations. [block:callout] { "type": "danger", "title": "Before uploading the app to the app store", "body": "Don't forget to change the inProduction to possitive value" } [/block] While in production mode the following logic apply: * During the segment response calculation phase, only production segments will be analyzed. * All user interactions will be analyzed. * Any new definition for either a moment, a BackView experience, cases or dynamic objects will not apply.