My tactic for a mid or jr dev is to poke into some specific things in their resume. They say they know JavaScript, then hit them with a bit of JavaScript trivia. Basic stuff that anyone who has worked in the language would answer in 2 seconds. Also some domain stuff, like if this is a web dev, then have them explain CORS or HTTPS. Then have them talk in detail about a specific project or two. Try to get them to articulate not just what the code does, but why that direction was chosen. Have them explain their role and the other roles and the project team to show they understand teamwork. Ask them how the estimate work. Try to elicit an opinion (PHP or Python, strict or loose typing, AWS or GCP) not to question their thinking, but rather to see that they can make qualitative arguments.