For example the variable mergedArray below.
My issue is that variables are often impossible to inspect even when defined within the current function.
I found other questions that ask something similar, but the answer in those questions relates to the variable being defined in a higher scope.
This issue is technically in Electron - but it uses what is essentially Chrome DevTools.

try expanding the Scope pane (below or above Call Stack pane) and see what variables are listed under Local. it could be shown as a different name e.g.

this could be a result of minification
I don't have an answer for why this happens, but it can be remedied by temporarily adding a line in your code:
const variableUsuallyUnavailable = 1;
while(bool) {
variableUsuallyUnavailable; // This will make it available in the debugger;
// ... Your actual code
}
Not very convenient, but it's all I have to offer even after all these years.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With