Log in or sign up to continue

A REST API call into a docker instance

Unfortunately, there is no simple way of any debug for any web requests. And it does not really matter in docker or not.

In a studio it is possible.
1. I put a delay of a few seconds in the service code.
2. Start the service
3. I find the required process, connect to it

BINGO! 
that''s the way to go.

I typically use from Terminal

>SET ^GO=0

and in code 

SET ^JOB($h)=$JOB FOR x=1:0 HANG 1 IF $GET(^GO) QUIT

and of course Studio to attach

or I use $system.CSP.Shell()  as described here
 

Actually, this way may also work in VSCode as well. It does support Attach to a process.

Good News! I was just not sure. Not to speed fake news smiley