As soon as a constructor is added to a class you can debug it. To do this, press F11 on the line that instantiates an object to step into the constructor. The snip below shows the debugger when F11 has been pressed on an object instantiation of an Employee type.
Note that the hr object is currently null. As soon as we press F11 again the object instantiates.
And when we continue to F11 through the constructor we can see that that instance's startingSalary field is assigned.
And when we press F11 to return to where the object was instantiated and press F11 we can see that the object has been instantiated with the startingSalary value, but none of the other fields (Name, Number) have been assigned.