VSCode 调试脚本
Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
parent
62161a1626
commit
ba20cc4d98
|
@ -0,0 +1,19 @@
|
|||
# VSCode 调试脚本
|
||||
|
||||
VSCode 可以用来调试程序,通过修改 .vscode/launch.json 来支持各种调试需求。
|
||||
|
||||
## 增加调试参数
|
||||
|
||||
在 "configurations" 中增加:
|
||||
|
||||
```json
|
||||
"configurations": [
|
||||
"args":[
|
||||
"arg1",
|
||||
"...",
|
||||
"argN"
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
可在调试时增加程序入口参数。
|
Loading…
Reference in New Issue