Discussion (5)2
Log in or sign up to continue

Hello, would you like to debug using which development IDE?
Are you already familiar with some form of debugging?

I am using Inter System IRIS IDE.

I am new in Inter System IRIS development,, and want debug the class method when call method using postman request.

In your Service Rest, insert one hang like this:

Method OnProcessInput(pInput As %CharacterStream, Output pOutput As %Stream.Object) As %Status
//20 seconds
    hang 20 break
    Set tSC = $System.Status.OK() 

In your Production you need have a port of your service like this:

Use Postman to send a request like this: http://server:port

In your Studio, Attach  your process after you send a request from Postman, and wait the process be attached.

you can call your classmethod directly calling from terminal by passing desired parameters via terminal.

And then attaching the jobid of terminal in studio.