Connor Peet

Results 463 comments of Connor Peet

Oh, apologies. That's a V8 optimization, it optimizes away variables unused in the current scope. However we could be clever and hoist those like we do `$returnValue`.

Ah, I realize the original issue scope is more narrow than the last comment (which would be out of scope). We could do simple logging of network requests/errors.

Yes: https://github.com/microsoft/vscode-js-debug/pull/2053. Available on [nightly](https://github.com/microsoft/vscode-js-debug#nightly-extension).

Thanks for the issue, this doesn't work because the URL of evaluated functions is actually empty -- we generate a fake name on the debugger side. We could have a...

@Spown this issue is still open, so it's not "as designed." If you're passionate about this issue, we welcome PRs! Check out the contributing guide for how to get started:...

https://github.com/microsoft/vscode/issues/31537 _is_ as-designed, as it refers to omitting anonymous scripts entirely from the debug protocol, which leads to the problems I mentioned in https://github.com/microsoft/vscode/issues/31537#issuecomment-916398385. This issue refers to allowing evaluated...

You can use the `cd` command to do this It's not super discoverable. I'm not actually sure why we don't have iframes be different debug sessions, but do for workers....

Looking more: in chrome iframes are not really separate sessions, just separate execution contexts. While some things are separate, other things are the same. For example, the state of the...

This is because Teams apparently publishes with sourcemaps, so the debugger tries to load all sourcemaps for the UI, e.g. for `"https://statics.teams.cdn.office.net/hashed/3.3-app.min-7ab89a4.js"`. A solution would be an option to control...