Step 1: Compile and Configure Parameters
Usingexamples/rag_full.yaml as an example, first compile the Pipeline and complete the parameter configuration.This process is identical to the one described in Quick Start, except that you do not need to execute the run command in this case.
Step 2: Create a Debug Configuration File
Create a.vscode/launch.json file in the project root directory and add the following content:
If you want to debug a different Pipeline, simply replace the path in
args with the corresponding YAML file path.Step 3: Start Debugging
- Open the Run and Debug panel on the left sidebar of VSCode (shortcut:
Ctrl+Shift+D). - In the debug configuration dropdown, select UltraRAG Debug.
- Click the green ▶ Start Debugging button to run and debug the program directly in the integrated terminal of VSCode.