Agreed. There’s still value in isolating issues with the switch vs cable.
Issuing ?
for status report may show limit switch state status with certain compiles of GRBL. This may also depend on mask value provided in $10.
Pn:P
followed by X and/or Y indicate switch activation.