Add prebuilt VSCode launch configuration

This commit is contained in:
Stefano Pigozzi 2024-10-21 20:56:44 +02:00
parent d0785c8134
commit 9f572053df
No known key found for this signature in database
GPG key ID: 5ADA3868646C3FC0

27
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,27 @@
{
// 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": "Dev (Chrome)",
"type": "node",
"request": "launch",
"cwd": "${workspaceFolder}",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run-script",
"dev"
],
"skipFiles": [
"<node_internals>/**"
],
"serverReadyAction": {
"pattern": " ➜ Local: (http://.+/)",
"uriFormat": "%s",
"action": "debugWithChrome",
}
},
]
}