Skip to content

Commit

Permalink
Debugging works again
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr committed May 7, 2024
1 parent 0c74f2f commit 2657376
Show file tree
Hide file tree
Showing 12 changed files with 431 additions and 119 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ module.exports = {
],
parserOptions: {
ecmaVersion: 'latest'
}
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ coverage
*.sw?

*.tsbuildinfo
/components.d.ts
3 changes: 3 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"request": "launch",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"webpack:///./*": "${webRoot}/*"
},
"preLaunchTask": "start server",
}
]
Expand Down
22 changes: 20 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,26 @@
"isDefault": true
},
"problemMatcher": [],
"label": "npm: test",
"detail": "jest"
"label": "npm: test"
},
{
"label": "start server",
"type": "npm",
"script": "dev",
"problemMatcher": {
"base": "$tsc-watch",
"background": {
"activeOnStart": true,
"beginsPattern": "VITE",
"endsPattern": "Local: +http://localhost:(\\d+)/"
}
},
"isBackground": true,
"presentation": {
"reveal": "always",
"focus": false,
"panel": "new"
},
}
]
}
Loading

0 comments on commit 2657376

Please sign in to comment.