Heya is there a way to run debug while you are doi...
# docker
a
Heya is there a way to run debug while you are doing docker up?
docker/sdk up --data -x
? proly not huh?
p
you mean making the start-up process log verbosely? or start docker in debug mode?
a
I have a breakpoint in the code and I want it to change the data, run the container with the new data and hit the breakpoint, but maybe I’m conflating two operations.
Yeh I think I was… I’ll just have to re-import then jump in then debug
s
If you're talking about debugging the import process, the easiest way to do it is to turn the scheduler OFF and run the queue worker manually. This will ensure that you'll hit the breakpoint.
q
during docker up this is probably unlikely
and i am with @sparse-fall-78248 on this ☝️
in what part of the code is you breakpoint?
@astonishing-lamp-41374?
l
@astonishing-lamp-41374 when you run docker/sdk up the system “hits” the project code while going through the project installation pipeline defined in config/install/(docker?).yml file. You can execute any section of it on the already running container by running f.e.
docker/sdk cli -x vendor/bin/install -r config/install/docker.yml -s demodata -vvv
..and do your debugging. “-s” stays for the section name: