File tree 3 files changed +41
-0
lines changed
3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export const mySidebar: SidebarMulti = {
10
10
items : [
11
11
{ text : '简介' , link : 'intro' } ,
12
12
{ text : '快速开始' , link : 'quick-start' } ,
13
+ { text : 'Visual Studio Code' , link : 'vscode' } ,
13
14
{ text : '为什么选择我们?' , link : 'why' } ,
14
15
{ text : '精简版' , link : 'fsm' } ,
15
16
]
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : vscode
3
+ ---
4
+
5
+ ::: tip
6
+ 此章节仅限于 vscode 后端开发用户
7
+ :::
8
+
9
+ ## DEBUG
10
+
11
+ 以下是 vscode 中的 launch.json 配置
12
+
13
+ ``` json5
14
+ {
15
+ " version" : " 0.2.0" ,
16
+ " configurations" : [
17
+ {
18
+ " name" : " fba 调试程序" ,
19
+ " type" : " debugpy" ,
20
+ " request" : " launch" ,
21
+ " module" : " uvicorn" ,
22
+ " console" : " integratedTerminal" ,
23
+ " envFile" : " ${workspaceFolder}/backend/.env" ,
24
+ " args" : [
25
+ " backend.main:app" ,
26
+ " --host" ,
27
+ " 0.0.0.0" ,
28
+ " --port" ,
29
+ " 8000" ,
30
+ " --reload"
31
+ ],
32
+ " justMyCode" : true
33
+ }
34
+ ]
35
+ }
36
+ ```
37
+
38
+ ### 效果图
39
+
40
+ ![ vscode 调试] ( /images/vscode_debug.png )
You can’t perform that action at this time.
0 commit comments