We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7977507 commit 62ba97eCopy full SHA for 62ba97e
codegen/README.MD
@@ -0,0 +1,23 @@
1
+# Debugging the generator
2
+
3
+To configure VS Code for debugging the generator, specifically visitors, add the following to your `launch.json` in the root of the workspace
4
5
+```json
6
+{
7
+ "version": "0.2.0",
8
+ "configurations": [
9
+ {
10
+ "name": "Debug OpenAI Library Plugin",
11
+ "type": "coreclr",
12
+ "request": "launch",
13
+ "program": "dotnet",
14
+ "args": [
15
+ "${workspaceFolder}/codegen/dist/generator/Microsoft.TypeSpec.Generator.dll",
16
+ "${workspaceFolder}",
17
+ "-g",
18
+ "OpenAILibraryGenerator"
19
+ ],
20
+ }
21
+ ]
22
+}
23
+```
0 commit comments