Configure VSCode launch.

This commit is contained in:
Viktor Kovacs 2021-06-07 21:51:32 +02:00
parent 43ef12c897
commit efa76f4a1d
4 changed files with 22 additions and 0 deletions

20
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,20 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Test",
"program": "${workspaceFolder}/node_modules/mocha/bin/mocha",
"cwd": "${workspaceRoot}",
"args": ["--no-timeouts", "--colors"]
},
{
"type": "pwa-chrome",
"request": "launch",
"name": "Chrome",
"url": "http://localhost:8080/website",
"webRoot": "${workspaceFolder}"
}
]
}

1
StartServerNode.bat Normal file
View File

@ -0,0 +1 @@
node node_modules/http-server/bin/http-server

View File

@ -5,6 +5,7 @@
"repository": "github:kovacsv/Online3DViewer",
"license": "MIT",
"devDependencies": {
"http-server": "^0.12.3",
"google-closure-compiler": "^20210302.0.0",
"jshint": "^2.12.0",
"mocha": "^8.3.2",