forked from appium/appium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add VSCode launch configurations (appium#10683)
* Added debug, attach to debug, test-all, and test-current-file * The debug and attach to debug allow you to run Appium server * Made some changes to how package.json is located to support being able to run Mocha tests directly from 'test/' instead of from 'build/test/'
- Loading branch information
Showing
7 changed files
with
71 additions
and
11 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -5,6 +5,7 @@ coverage/ | |
commands-yml/ | ||
docs/ | ||
sample-code/ | ||
.vscode/ | ||
|
||
_vimrc_local.vim | ||
*.swp | ||
|
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,46 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Debug", | ||
"type": "node", | ||
"request": "launch", | ||
"cwd": "${workspaceFolder}", | ||
"console": "integratedTerminal", | ||
"args": [ | ||
"." | ||
] | ||
}, | ||
{ | ||
"name": "Attach Debug", | ||
"type": "node", | ||
"request": "attach", | ||
"cwd": "${workspaceFolder}", | ||
"port": 9229 | ||
}, | ||
{ | ||
"name": "Test All", | ||
"type": "node", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/node_modules/.bin/_mocha", | ||
"args": [ | ||
"--require", "babel-core/register", | ||
"--timeout", "999999", | ||
"--colors", | ||
"${workspaceFolder}/test" | ||
] | ||
}, | ||
{ | ||
"name": "Test Current File", | ||
"type": "node", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/node_modules/.bin/_mocha", | ||
"args": [ | ||
"--require", "babel-core/register", | ||
"--timeout", "999999", | ||
"--colors", | ||
"${file}" | ||
] | ||
} | ||
] | ||
} |
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
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
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
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
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