Ctrl + B (MAC: ⌘B). Or, it can be set through the right-click menu in the editor. When the code is executed in debugging mode, the debugger stops on that line.
Alt + F5 (MAC: ⌥F5)to start debugging the recently debugged project.
Ctrl + Shift + Y (MAC: ⌘⇧Y),
Configure...to the right of Discover network targets and add the IP and external ports copied in step 2 in the format
Remote Targetafter click Done and open the debug window by press inspect.