@ayesha.khanam you can set the desired switches by using the args capability in your project setting.
See bellow pics, in my example i set it for Chrome driver, you have to do it for Chrome Headless instead:
@ayesha.khanam I’m not using Katalon anymore and I won’t use it ever again. Take a look at TestCafe or Playwright. Debugging is a human right, auto-wait for element is also.