vscode settings (#409)

* vscode settings
* Working debugger config
This commit is contained in:
TrueMilli 2022-06-03 21:17:31 +02:00 committed by GitHub
parent 49859e6f00
commit 00f142ec7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 23 deletions

13
.vscode/launch.json vendored
View File

@ -5,19 +5,12 @@
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"webRoot": "${workspaceRoot}"
},
{
"name": "Attach to Chrome",
"type": "chrome",
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"port": 9222, // chrome needs to be started with the parameter "--remote-debugging-port=9222"
"urlFilter": "http://localhost:3000/*",
"webRoot": "${workspaceFolder}"
"webRoot": "${workspaceFolder}/web"
}
]
}

11
.vscode/settings.json vendored
View File

@ -1,4 +1,13 @@
{
"javascript.preferences.importModuleSpecifier": "shortest",
"typescript.preferences.importModuleSpecifier": "shortest"
"typescript.preferences.importModuleSpecifier": "shortest",
"files.eol": "\r\n",
"search.exclude": {
"**/node_modules": true,
"**/package-lock.json": true,
"**/yarn.lock": true
},
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}