config: 更新开发环境配置
- .gitignore: 添加日志文件忽略规则(**/*.log) - .vscode/launch.json: 为PDF解析器添加调试配置,支持不同参数测试
This commit is contained in:
parent
41e5fd1543
commit
367696788b
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ wheels/
|
||||
dataset/
|
||||
docs/CLAUDE*
|
||||
.DS_Store
|
||||
**/*.log
|
||||
|
||||
18
.vscode/launch.json
vendored
18
.vscode/launch.json
vendored
@ -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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user