Spin-based coherent information processing and encoding utilize the precession phase of spins in magnetic materials. However, the detection and manipulation of spin precession phases remain a major challenge for advanced spintronic functionalities. By using simultaneous electrical and optical detection, we demonstrate the direct measurement of the precession phase of Permalloy ferromagnetic resonance driven by the spin-orbit torques from adjacent heavy metals. The spin Hall angle of the heavy metals can be independently determined from concurrent electrical and optical signals. The stroboscopic optical detection also allows spatially measuring local spin-torque parameters and the induced ferromagnetic resonance with comprehensive amplitude and phase information. Our study offers a route towards future advanced characterizations of spin-torque oscillators, magnonic circuits, and tunnelling junctions, where measuring the current-induced spin dynamics of individual nanomagnets are required.Magneto-optical Kerr effect (MOKE) provides an alternative approach to "directly" access to the magnetization states. Both in-plane and out-of-plane magnetic moments can be detected [30] by the choice of different Kerr configurations. Recently, MOKE-based detection of electrically-induced SOTs have been reported [31][32][33][34], but only with quasi-static magnetization configurations, where the SOT is treated as an "effective field" that tilts the static magnetization of the FM. On the other hand, stroboscopic techniques [35][36][37][38][39], in which both the pump and probe are modulated at the dynamic excitation frequency, offer unique advantages in tracking both the amplitude and the phase information of the magnetization precession, and thus are more suitable in studying SOTdriven spin dynamics.Here, we report a simultaneous electrical and optical measurement of spin-torque ferromagnetic resonance (ST-FMR), with the capability to extract the spin precession phase driven by the SOTs. We show that the spin Hall angle of heavy metals can be directly extracted from the measured optical phase of spin dynamics, in-arXiv:1901.01923v1 [cond-mat.mes-hall]