You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now it's not possible to debug when running the app via genkit start because it Genkit CLI starts a sub-process and doesn't pass along debug settings (ex. can't pass --inspect flag to be able to attach a debugger).
Today you need to run your actual app in debug mode (F5). You'll need to set the env vars in the launch config...
You'll be able to set breakpoints, but you won't have the dev UI...
To get the dev ui you you need to manually set "GENKIT_ENV": "dev" and then attach the dev UI to the running process -- genkit start -a http://localhost:3100.
Would be great to have a "Debug Genkit App" VSCode option. This might require a Genkit VSCode extension.
The text was updated successfully, but these errors were encountered:
Right now it's not possible to debug when running the app via
genkit start
because it Genkit CLI starts a sub-process and doesn't pass along debug settings (ex. can't pass--inspect
flag to be able to attach a debugger).Today you need to run your actual app in debug mode (F5). You'll need to set the env vars in the launch config...
You'll be able to set breakpoints, but you won't have the dev UI...
To get the dev ui you you need to manually set "GENKIT_ENV": "dev" and then attach the dev UI to the running process -- genkit start -a http://localhost:3100.
Would be great to have a "Debug Genkit App" VSCode option. This might require a Genkit VSCode extension.
The text was updated successfully, but these errors were encountered: