Step is a PWM signal and dir depending on the direction low (0v) or high (5v).
Figure 3.7.3
As with the above connection pattern, you can test each axis.
Of course you can also measure with a multimeter, but with an oscilloscope you can
observe the interaction of the direction changes and methods of the axes better.