From 0f92e82b9c08d593fb9d120952ec085d81fdbd2b Mon Sep 17 00:00:00 2001 From: "chen.yang" Date: Wed, 3 Nov 2021 21:20:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=20cwd=20=E5=8F=82=E6=95=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chen.yang --- Software/Applications/VSCode/VSCode_调试脚本.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Software/Applications/VSCode/VSCode_调试脚本.md b/Software/Applications/VSCode/VSCode_调试脚本.md index dcc0632..ba880e8 100644 --- a/Software/Applications/VSCode/VSCode_调试脚本.md +++ b/Software/Applications/VSCode/VSCode_调试脚本.md @@ -2,7 +2,19 @@ VSCode 可以用来调试程序,通过修改 .vscode/launch.json 来支持各种调试需求。 -## 1. 增加调试参数 +## 1. 常用参数说明 + +### 1.1. 改变运行目录 + +在 "configurations" 中增加: + +```json +"configurations": [ + "cwd":"chdir path" +] +``` + +### 1.2. 增加调试参数 在 "configurations" 中增加: