Steps to debug extension via Xcode,
1. Run the app on device via Xcode 2. Go to menu Debug -> Attach to Process -> Search for the extension name you have given for 'com.apple.deviceactivity.monitor-extension' and attach it Now you have two process attached for debug.
Steps to collect logs from console,
1. Launch Console and start monitor device traffic 2. Search for your extension name given for 'com.apple.deviceactivity.monitor-extension' under category 'Process'
Topic:
App & System Services
SubTopic:
General
Tags: