 	/// This will setup the SentrySDK with the common base configuration. Crashes will be detected if the app is build with the release build type and the sentry dsn taken from the info plists.
 	///
 	/// - Parameters:
-	///   - configuration: sentry dsn string
+	///   - configuration: Configuration object
 	static func setup(configuration: SentrySDK.Configuration) {
-
-		// Make sure SentrySDK is not setup in a debug build
-		guard (self.isDebugBuild == false) else {
-			// Configure SentrySDK only for non debug builds or if the exception flag is set to true
+		guard (self.isDebugBuild == false || configuration.enableDebug == true) else {
 			return
 		}
 

			#endif
		}()

		fileprivate var sentryDSN			: String	= ""
		fileprivate var enableSMFLogUpload	: Bool		= true
		fileprivate var enableBreadcrumbs	: Bool		= true

				return
			}

			self.enableDebug			= enableDebug
			self.sentryDSN				= _sentryDsn
			self.enableBreadcrumbs		= smfEnableBreadcrumbs
			self.enableSMFLogUpload		= enableSMFLogUpload
