def test_debug_mode_2():
    """Test that debug mode works with multiple arguments"""
    @backend("markov", debug=True, system="You are a helpful assistant.")
    def generate_summary(a, b, c):
        """Generate a summary of the following text: {{ a }} {{ b }} {{ c }}"""
        pass

    result = generate_summary("Hello", "world", "!")
    
    assert isinstance(result, dict)
    assert result["_debug"]["prompt"] == "Generate a summary of the following text: Hello world !"
    assert result["_debug"]["template_inputs"] == {"a": "Hello", "b": "world", "c": "!"}
    assert result["_debug"]["system"] == "You are a helpful assistant."
    assert result["result"]
Test that debug mode works with multiple arguments
tests/test_basic.py