I know live server opens with a browser. But is it possible to open it inside editor? Like I split the editor window with two .js files.
Yup, you Open the pallet (Ctrl + Shift + P)
Select "Simple Browser: Preview" and then enter the web address