-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering Apex Programming
By :

We have now seen a number of options to debug our code and improve our workflow away from the standard workflow for most developers, which are usually as follows:
Hopefully, it has now become clearer that replicating any issue in Apex code through a unit test will speed up our debug cycle immensely as it allows us to utilize the debugging tools available to us in VS Code and SFDX without a need to return to the browser repeatedly. I often find as well that the process of methodically writing a unit test to reproduce the error can make my brain get a small "aha" moment, allowing me to fix the issue straight away. If this doesn't happen though, we are left with two main improved ways of debugging:
A sensible question is, therefore,...