-
Notifications
You must be signed in to change notification settings - Fork 813
Description
Repost of automatically closed issue #1255
Identical issues:
- Lack of source maps #219
- Source map support #884
- Feature request: Configure builds to include source maps #1486
Stencil version:
@stencil/[email protected]
I'm submitting a:
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
I'm using the stencil starter project found here (https://github.com/ionic-team/stencil-component-starter) and I would like to debug the code in visual studio code. The following configuration lets me launch chrome from within visual studio code:
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3333",
"sourceMaps": true,
"webRoot": "${workspaceFolder}/www"
}
]
Expected behavior:
When I place a breakpoint in visual studio code, I expect execution to stop there. This doesn't happen. Instead I get a warning saying 'unverified breakpoint' for all the breakpoints I place in the code.
Steps to reproduce:
See Current behavior and Expected behavior
Main advantages of having source maps
- Editor integration
- IE11 debugging