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

35
.vscode/launch.json vendored
View File

@ -1,23 +1,16 @@
{ {
// Use IntelliSense to learn about possible attributes. // Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes. // Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"type": "chrome", "name": "Attach to Chrome",
"request": "launch", "type": "chrome",
"name": "Launch Chrome against localhost", "request": "attach",
"url": "http://localhost:3000", "port": 9222, // chrome needs to be started with the parameter "--remote-debugging-port=9222"
"webRoot": "${workspaceRoot}" "urlFilter": "http://localhost:3000/*",
}, "webRoot": "${workspaceFolder}/web"
{ }
"type": "chrome", ]
"request": "attach",
"name": "Attach to Chrome",
"port": 9222,
"urlFilter": "http://localhost:3000/*",
"webRoot": "${workspaceFolder}"
}
]
} }

11
.vscode/settings.json vendored
View File

@ -1,4 +1,13 @@
{ {
"javascript.preferences.importModuleSpecifier": "shortest", "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"
} }