Debug.Log();

Debug.Log("Hello");
String welcomeString = "Hello";
Debug.Log(welcomeString);

Untitled

You can also debug any value just as the welcomeString variable from above.

Vector3 alphaVector = Vector3.one;
Debug.Log(alphaVector.x);

Untitled

Errors & Warnings

Debug.LogWarning("Warning");
Debug.LogError("Error");

Untitled

Debug.Break();

				if(Input.GetMouseButtonDown(0)){
            //FireRocket
            Instantiate(rocketPrefab);
						Debug.Log("<color=orange>RocketFired!</color>");
						Debug.Break();
        }

Untitled