mirror of
https://github.com/langgenius/dify.git
synced 2026-02-11 05:24:39 +08:00
|
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
|
||
|---|---|---|
| .. | ||
| launch.json.template | ||
| README.md | ||
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.