def METHOD_NAME(spec: Path, debug=False) -> List[str]:
    # if debug:
    #   options["debug"] = "true"
    result = []
    for config in _get_emitter_option(spec):
        config_copy = copy.copy(config)
        config_copy["emitter-output-dir"] = f"{PLUGIN_DIR}/test/generated/{config['package-name']}"
        result.append(config_copy)
    if not result:
        result.append({"emitter-output-dir": f"{PLUGIN_DIR}/test/generated/{_default_package_name(spec)}"})
    return [" --option ".join(
        [f"@azure-tools/typespec-python.{k}={v} " for k, v in options.items()]
    ) for options in result]