 request = require 'request'
 
 DEFAULT_FORMAT = 'json'
-DEBUG_STATE = true
 
 module.exports = class Net_action
 	
-	constructor: (@ROOT_DATA) ->
+	constructor: (@ROOT_DATA, @DEBUG_STATE) ->
+		unless @DEBUG_STATE
+			@DEBUG_STATE = false
 		
 	get: ({ressource, params, @format, successCallback, errorCallback}) ->
 		unless @format?

		else
			url = "#{ressource}"

		if DEBUG_STATE
			console.log "#[+] EXEC #{method} -> #{@ROOT_DATA}/#{url}"

		request

			form: params
			uri: "#{@ROOT_DATA}/#{url}"
			(error, response, result) =>
				if result? and @format is DEFAULT_FORMAT
					if result.State? and result.State
						scb result
					else
