You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It is not possible to hit breakpoints in HTML script blocks on code that executes on page load (e.g. code not in a function that will be triggered later by user action)
To Reproduce
repro html:
<html><body><script>console.log('log outside a function');functionclickme(){console.log('log inside a function');};</script><buttononclick="clickme()">Click Me</button></body></html>
Describe the bug
It is not possible to hit breakpoints in HTML script blocks on code that executes on page load (e.g. code not in a function that will be triggered later by user action)
To Reproduce
repro html:
repro launch.json
Steps:
console.log('log outside a function')
(the breakpoint should bind)Log File
log.txt
VS Code Version:
Version: 1.52.0-insider (user setup)
Commit: ac165d7f974d70212be80cb15eaecfc1fd20b21a
Date: 2020-11-30T17:36:25.607Z
Electron: 11.0.2
Chrome: 87.0.4280.63
Node.js: 12.18.3
V8: 8.7.220.24-electron.0
OS: Windows_NT x64 10.0.19042
The text was updated successfully, but these errors were encountered: