In most cases, we don't have the technology to directly see newborn planets orbiting baby stars. But the Gaia space telescope is so sensitive that it can measure the stars being yanked back & forth by the gravity of the hidden objects around them.
Full paper at link.