-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vscode): add launch.json for vscode debug
- Loading branch information
1 parent
86170fe
commit 9741a53
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
packages/midway-init/boilerplate/midway-demo-boilerplate/boilerplate/.vscode/launch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
// 使用 IntelliSense 了解相关属性。 | ||
// 悬停以查看现有属性的描述。 | ||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Egg/Midway Debug", | ||
"type": "node", | ||
"request": "launch", | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": [ | ||
"run", | ||
"debug", | ||
"--", | ||
"--inspect-brk" | ||
], | ||
"console": "integratedTerminal", | ||
"restart": true, | ||
"protocol": "auto", | ||
"port": 9229, | ||
"autoAttachChildProcesses": true | ||
} | ||
] | ||
} |
25 changes: 25 additions & 0 deletions
25
packages/midway-init/boilerplate/midway-ts-boilerplate/boilerplate/.vscode/launch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
// 使用 IntelliSense 了解相关属性。 | ||
// 悬停以查看现有属性的描述。 | ||
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Egg/Midway Debug", | ||
"type": "node", | ||
"request": "launch", | ||
"runtimeExecutable": "npm", | ||
"runtimeArgs": [ | ||
"run", | ||
"debug", | ||
"--", | ||
"--inspect-brk" | ||
], | ||
"console": "integratedTerminal", | ||
"restart": true, | ||
"protocol": "auto", | ||
"port": 9229, | ||
"autoAttachChildProcesses": true | ||
} | ||
] | ||
} |