mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-24 22:46:40 +00:00
Add Launch settings for VS Code
This commit is contained in:
parent
2226169a71
commit
3194ff2271
65
.vscode/launch.json
vendored
65
.vscode/launch.json
vendored
@ -4,6 +4,37 @@
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"command": "npm start",
|
||||
"name": "Run Host (npm start)",
|
||||
"request": "launch",
|
||||
"type": "node-terminal",
|
||||
"presentation": {
|
||||
"hidden": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "chrome",
|
||||
"name": "Debug in Portal (Chrome)",
|
||||
"request": "launch",
|
||||
"smartStep": true,
|
||||
"url": "https://ms.portal.azure.com/?dataExplorerSource=https%3A%2F%2Flocalhost%3A1234%2Fexplorer.html",
|
||||
"presentation": {
|
||||
"group": "debug"
|
||||
//"order": 5
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "chrome",
|
||||
"name": "Debug Standalone (Chrome)",
|
||||
"request": "launch",
|
||||
"smartStep": true,
|
||||
"url": "https://localhost:1234/hostedExplorer.html",
|
||||
"presentation": {
|
||||
"group": "debug"
|
||||
//"order": 5
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug Jest Tests",
|
||||
"type": "node",
|
||||
@ -17,7 +48,11 @@
|
||||
],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"port": 9229
|
||||
"port": 9229,
|
||||
"presentation": {
|
||||
"group": "tests"
|
||||
//"order": 5
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Debug Jest Current Test",
|
||||
@ -28,7 +63,7 @@
|
||||
"${workspaceRoot}/node_modules/jest/bin/jest.js",
|
||||
"${fileBasenameNoExtension}",
|
||||
"--coverage",
|
||||
"false",
|
||||
"false"
|
||||
// "--watch",
|
||||
// // --no-cache only used to make --watch work. Otherwise jest ignores the breakpoints.
|
||||
// // https://github.com/facebook/jest/issues/6683
|
||||
@ -36,7 +71,31 @@
|
||||
],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"port": 9229
|
||||
"port": 9229,
|
||||
"presentation": {
|
||||
"group": "tests"
|
||||
//"order": 5
|
||||
}
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
{
|
||||
"name": "Run Host and Debug in Portal (Chrome)",
|
||||
"configurations": ["Run Host (npm start)", "Debug in Portal (Chrome)"],
|
||||
"stopAll": true,
|
||||
"presentation": {
|
||||
"group": "debug",
|
||||
"order": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Run Host and Debug Standalone (Chrome)",
|
||||
"configurations": ["Run Host (npm start)", "Debug Standalone (Chrome)"],
|
||||
"stopAll": true,
|
||||
"presentation": {
|
||||
"group": "debug",
|
||||
"order": 1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
16
.vscode/tasks.json
vendored
Normal file
16
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "build",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"label": "npm: build",
|
||||
"detail": "npm run format:check && npm run lint && npm run compile && npm run compile:strict && npm run pack:prod && npm run copyToConsumers"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user