config: 更新开发环境配置

- .gitignore: 添加日志文件忽略规则(**/*.log)
- .vscode/launch.json: 为PDF解析器添加调试配置,支持不同参数测试
This commit is contained in:
iomgaa 2025-08-24 15:07:26 +08:00
parent 41e5fd1543
commit 367696788b
2 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@ wheels/
dataset/
docs/CLAUDE*
.DS_Store
**/*.log

18
.vscode/launch.json vendored
View File

@ -31,6 +31,24 @@
"console": "integratedTerminal",
"python": "${workspaceFolder}/.venv/bin/python",
"args": ["--mimic_paper_path", "dataset/mimic.csv", "--parallel", "5"]
},
{
"name": "调试 pdf_parser.py",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/pdf_parser.py",
"console": "integratedTerminal",
"python": "${workspaceFolder}/.venv/bin/python",
"args": []
},
{
"name": "调试 pdf_parser.py (指定参数)",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/pdf_parser.py",
"console": "integratedTerminal",
"python": "${workspaceFolder}/.venv/bin/python",
"args": ["--pdf-dir", "dataset/pdfs", "--parallel", "3", "--markdown-dir", "dataset/markdowns"]
}
]
}