mirror of
https://github.com/langgenius/dify.git
synced 2025-11-30 12:53:33 +00:00
Add a warning about top level importing in gunicorn.conf.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Debugging with VS Code
This launch.json.template file provides various debug configurations for the Dify project within VS Code / Cursor. To use these configurations, you should copy the contents of this file into a new file named launch.json in the same .vscode directory.
How to Use
- Create
launch.json: If you don't have one, create a file namedlaunch.jsoninside the.vscodedirectory. - Copy Content: Copy the entire content from
launch.json.templateinto your newly createdlaunch.jsonfile. - Select Debug Configuration: Go to the Run and Debug view in VS Code / Cursor (Ctrl+Shift+D or Cmd+Shift+D).
- Start Debugging: Select the desired configuration from the dropdown menu and click the green play button.
Tips
- If you need to debug with Edge browser instead of Chrome, modify the
serverReadyActionconfiguration in the "Next.js: debug full stack" section, change"debugWithChrome"to"debugWithEdge"to use Microsoft Edge for debugging.