Skip to content

Latest commit

 

History

History
executable file
·
92 lines (62 loc) · 2.98 KB

README.md

File metadata and controls

executable file
·
92 lines (62 loc) · 2.98 KB

Platform CocoaPods Compatible License MIT

DebugMan

iOS debugger tool for Swift

Introduction

DebugMan is inspired by remirobert/Dotzu and JxbSir/JxbDebugTool, but it is more powerful than them.

  • display all APP logs in different colors as you like.
  • show all APP network requests (include third-party SDK in APP).
  • filter keywords in APP logs and APP network requests.
  • APP device informations and APP identity informations.
  • APP crash logs.
  • APP memory real-time monitoring.

Requirements

  • iOS 8.0+
  • Xcode 9.0+
  • Swift 3.0+

Installation

You can use CocoaPods to install DebugMan by adding it to your Podfile:

platform :ios, '8.0'
use_frameworks!

target 'your_project' do
pod 'DebugMan', '~> 4.2.8' , :configurations => ['Debug']
end
  • use ~> 4.2.8 if your project use Swift 4
  • use ~> 3.2.8 if your project use Swift 3

Usage

The simplest usage of DebugMan:

//AppDelegate.swift

#if DEBUG
  import DebugMan
#endif

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    
    #if DEBUG
      DebugMan.shared.enable()
    #endif
    
    return true
}

For advanced usage, you can check the parameters of function: enable()

Screenshots

👉 Tips 👈

You can temporarily hide the black ball by shaking iPhone or Simulator. Then if you want to show the black ball, just shake again.😃APP memory real-time monitoring data displayed on the black ball.😃

Contact

If you like DebugMan, you can star this project. Thanks! 😃

License

DebugMan is released under the MIT License.