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

37
.vscode/launch.json vendored
View File

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