openai/openai-dotnet

Public

mirrored fromhttps://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
fe4d6cf1ccfea48fa5c2baf67103495ac9b459dd

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

codegen/README.md

23lines · modepreview

# Debugging the generator

To configure VS Code for debugging the generator, specifically visitors, add the following to your `launch.json` in the root of the workspace

```json
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Debug OpenAI Library Plugin",
            "type": "coreclr",
            "request": "launch",
            "program": "dotnet",
            "args": [
                "${workspaceFolder}/codegen/dist/generator/Microsoft.TypeSpec.Generator.dll",
                "${workspaceFolder}",
                "-g",
                "OpenAILibraryGenerator"
            ],
        }
    ]
}
```