Skip to content

Commit 68bd9e1

Browse files
committed
Support VSCode.
1 parent 2fe74ed commit 68bd9e1

File tree

4 files changed

+52
-1
lines changed

4 files changed

+52
-1
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ npm-debug.log*
55
yarn-debug.log*
66
yarn-error.log*
77
lerna-debug.log*
8-
.vscode
98

109
# Diagnostic reports (https://nodejs.org/api/report.html)
1110
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

.vscode/launch.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"type": "node",
6+
"request": "launch",
7+
"name": "Launch EN",
8+
"skipFiles": [
9+
"<node_internals>/**"
10+
],
11+
"runtimeExecutable": "npm",
12+
"runtimeArgs": [
13+
"run",
14+
"start-en"
15+
]
16+
},
17+
{
18+
"type": "node",
19+
"request": "launch",
20+
"name": "Launch CN",
21+
"skipFiles": [
22+
"<node_internals>/**"
23+
],
24+
"runtimeExecutable": "npm",
25+
"runtimeArgs": [
26+
"run",
27+
"start-cn"
28+
]
29+
},
30+
{
31+
"type": "node",
32+
"request": "launch",
33+
"name": "Build",
34+
"skipFiles": [
35+
"<node_internals>/**"
36+
],
37+
"runtimeExecutable": "npm",
38+
"runtimeArgs": [
39+
"run",
40+
"build"
41+
]
42+
}
43+
]
44+
}

i18n/en-us/docusaurus-plugin-content-docs/current/doc/ide.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ hide_table_of_contents: false
99

1010
SRS supports JetBrains [CLion](http://www.jetbrains.com/clion/)
1111

12+
## VSCode
13+
14+
See [VSCode: Usage](https://github.com/ossrs/srs/blob/develop/.vscode/README.md) for example.
15+
1216
## JetBrains
1317

1418
The clion of JetBrains, please open `trunk/ide/srs_clion/CMakeLists.txt`

i18n/zh-cn/docusaurus-plugin-content-docs/current/doc/ide.md

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ hide_table_of_contents: false
99

1010
关于SRS的IDE(集成开发环境)。
1111

12+
## VSCode
13+
14+
See [VSCode: Usage](https://github.com/ossrs/srs/blob/develop/.vscode/README.md) for example.
15+
1216
## CLion
1317

1418
SRS只支持JetBrains的[CLion](http://www.jetbrains.com/clion/),它是基于cmake编译的。

0 commit comments

Comments
 (0)