I'm using Python & Pytest to write Playwrite tests. PyCharm is the my IDE.
When I'm debugging a test - I run it from the IDE (by pressing the play icon next to the test). I would like to be able to view the browser during the run in order to debug.
The problem is that when using the 'page' fixture - the default mode is headless.
I know that I can run the test from the CLI and add the flag '--headed', but I want to run headed also by running from the IDE.
Is that possible?


