To enter bone x-ray mode (in front), first, select your armature. Next change to object mode. Then select the object data properties tab. Expand viewport display and check 'in front'. Your bones are now drawn over other objects.
It's important to note you should be able to check the 'in front' option in edit mode but I've had a few times where the object data properties panel doesn't appear. The only way I was able to make it reappear was to go to object mode select another object then select the armature again. The image below is what the final result should look like.