title: Running Tests with Pytest Using Pycharm Debugger Fails
body: <pre><code>    INTERNALERROR&gt; Traceback (most recent call last):
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/_pytest/config/__init__.py&quot;,
              line 1492, in getoption
      INTERNALERROR&gt;     val = getattr(self.option, name)
      INTERNALERROR&gt; AttributeError: 'Namespace' object has no attribute 'htmlpath'
      INTERNALERROR&gt; 
      INTERNALERROR&gt; The above exception was the direct cause of the following exception:
      INTERNALERROR&gt; 
      INTERNALERROR&gt; Traceback (most recent call last):
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/_pytest/main.py&quot;, line 264,
              in wrap_session
      INTERNALERROR&gt;     config._do_configure()
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/_pytest/config/__init__.py&quot;,line 999, in _do_configure
      INTERNALERROR&gt; self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/pluggy/hooks.py&quot;, line 308,
              in call_historic
      INTERNALERROR&gt;     res = self._hookexec(self, self.get_hookimpls(), kwargs)
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/pluggy/manager.py&quot;, line 93,
              in _hookexec
      INTERNALERROR&gt;     return self._inner_hookexec(hook, methods, INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/pluggy/manager.py&quot;, line 84,
              in &lt;lambda&gt;
      INTERNALERROR&gt;self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/pluggy/callers.py&quot;, line
              208, in _multicall
      INTERNALERROR&gt;     return outcome.get_result()
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/pluggy/callers.py&quot;, line 80,
              in get_result
      INTERNALERROR&gt;     raise ex[1].with_traceback(ex[2])
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/pluggy/callers.py&quot;, line
              187, in _multicall
      INTERNALERROR&gt;     res = hook_impl.function(*args)
      INTERNALERROR&gt;   File &quot;/home/george/Development/Viamo/ui-test/voto5-ui-tests/seleniumbase/plugins/pytest_plugin.py&quot;,line 431, in pytest_configure
      INTERNALERROR&gt;     sb_config.pytest_html_report = config.getoption('htmlpath')  # --html=FILE
      INTERNALERROR&gt;   File &quot;/usr/local/lib/python3.9/dist-packages/_pytest/config/__init__.py&quot;,line 1503, in getoption
      INTERNALERROR&gt;     raise ValueError(f&quot;no option named {name!r}&quot;) from e
      INTERNALERROR&gt; ValueError: no option named 'htmlpath'
  </code></pre>