3 ms·
> breakpoints Because they suck. Afaik there is no way to setup triggers like break if variable X created break if variable Y >= 123 break before calling Z
by rasz 3y ago
> breakpoints
Because they suck. Afaik there is no way to setup triggers like
break if variable X created
break if variable Y >= 123
break before calling Z web api/method
- shortrounddev2 3y agoChrome and vscode both have conditional breakpoints: https://developer.chrome.com/docs/devtools/javascript/breakpoints/#conditional-loc https://developer.chrome.com/docs/devtools/javascript/breakp...
- rasz 3y agoline-of-code, cant set global ones, when I want to know if some object is used I need to manually hot patch/proxy it. One other drawback is inability to disable debug() call. Debugging third party/hostile code is real pain.