You can do it in three ways:

1 -

set ^mtemperro($ZNSPACE,..%PackageName()_"."_..%ClassName(),$horologmensagem_" Erro CACHE: "_$zerror_" - "_$SYSTEM.OBJ.DisplayError()

2 -
Throw ##class(%Exception.General).%New("Falha ao sinalizar o lançamento do PDA como rastreado.",1,..%ClassName()_".upByRastreado","Informe ao suporte sobre o problema.").Log()

3 - Declare in your class an exception variable

#dim exception As% Exception.AbstractException

catch exception {
    do exception.Log()
}

Then just check the cache administration portal:

System Operation-> System Logs-> Application Error Log

If it's not in a shortcut of keys, as it was in Studio, it's very likely that the intersystems developer team will be working on that, so we can have all the studio features in a better way in Atelier.

But from what I noticed.

At the end of the class, there is a Storage Default where you can see the same data.

I have not seen any specific screen like in Studio.

But I think that will help you.

I was able to solve the problem as follows: 

if ((ordenaProduto 0|| (ordenaProduto 1)) {
        set ordemProd query.Get("fatiqtde")
elseif ((ordenaProduto 2|| (ordenaProduto 3)) {
        set ordemProd query.Get("valortotliq")
}

set ^mtempJOB(controladorjob,K1,K2,ordemProd,K3$listbuild(   codProduto
                                                                    ,descrProd
                                                                    ,(qtdOld+$select(BP2:query.Get("fatiqtde"),1:0))
                                                                    ,(pesoOld+$select(BP2:query.Get("peso"),1:0))
                                                                    ,(vlrOld+query.Get("valortotliq"))
                                                                    ,(brutoOld+query.Get("bruto")))

I (agrup=1) {

            S COD = query.Get("pscodigo")

           

            I (COD="") S COD = "000" DESC = query.Get("psnome")

            I (DESC="") S DESC = "NAO DEFINIDO" (ordenacao=1)

           

            S K2=DESC_"^"_COD S K2=expert.completaString(COD,0,6)_"^"_DESC

}

S K3 = descrProd_"^"_codProduto_"^"_idProduto S ^mtempJOB(controladorjob,K1,K2,K3)=$LB(...)