Hi Krishnakumar,
Thanks for your feedback. Head mode is possible by,
browser = await chromium.launch({ headless: false }). Whereas ui and debug is not supported.
We can use page.pause() in stepdef files for debugging which will launch playwright inspector.