►
A
Hi
folks,
this
is
the
devops
for
mobile
apps
update
for
July
29
2022..
Today,
I
want
to
show
a
demo
of
a
simple
tool.
I've
been
working
on
to
make
it
easier
to
debug
CI
jobs.
We've
been
seeing
some
issues
and
running
fast
lane
Builds
on
the
new
Mac
OS
shared
Runners
and
I
wanted
a
way
to
be
able
to
get
into
the
CI
job
so
that
I
could
more
easily
track
down
the
problem.
A
A
A
Once
your
CI
variables
are
set,
the
next
step
is
to
include
the
ngrok
pipeline
debugger
CI
template
in
your
pipeline.
You
can
copy
paste
that,
from
this
example,
then
add
an
ngrok
job
to
your
CI
Pipeline
and
use
that
to
set
the
stage
you
want
the
debugger
to
run
in
and
any
tags
you
want
to
apply
to
the
job
after
you
commit
those
changes
and
push
to
your
project
in
gitlab
you'll
see
a
new
job
in
your
CI
pipeline.
A
This
job
is
triggered
manually,
so
you
only
have
to
run
it
when
you
need
it
click
the
play
button
to
start
the
job.
While
that's
running
I'll,
explain
what
the
job
is
doing.
First,
three
lines
of
this
script
install
and
run
a
gem
called
export
end.
This
is
a
ruby
gem
I
created
to
ensure
the
SSH
session,
picks
up
all
of
the
environment
variables
present
in
a
typical
CI
job.
A
Now,
if
we
look
at
the
output
from
the
job
we'll
see
it's
printed
out
the
host
and
port
number
of
the
ngrok
tunnel.
With
this
information
we
can
now
SSH
into
the
machine
with
the
same
environment.
The
CI
job
would
have
now
that
I'm
connected
I
can
move
into
my
build
directory
and
run
the
same
Fastlane
job
that
was
failing
earlier
and
you
can
see
I
get
the
same
error
as
before.
So
now,
I'm
ready
to
dig
in
and
track
down
the
error.