Yes. As I wrote, ngrok is optional. It's all described in the "how it works" 
section [1].

The default mechanism requires action concurrency though, which not all 
Openwhisk deployments have (apparently IBM cloud functions do not yet (?)).

Alternatively there is a third option that should always work, but is slow. It 
uses tricks with activation records. This is picked automatically if 
concurrency is not available. There is currently still a bug [2] where this 
detection doesn't work in all cases.

[1] https://github.com/adobe/wskdebug#how-it-works
[2] https://github.com/adobe/wskdebug/issues/30

Cheers,
Alex
________________________________
From: Michele Sciabarra <mich...@sciabarra.com>
Sent: Wednesday, February 19, 2020 10:04
To: dev@openwhisk.apache.org <dev@openwhisk.apache.org>
Subject: Re: Preview of a OpenWhisk IDE & Debugger... and an help request

But is it possible to use without ngrok? I mean, if I have to run everything 
behind a firewall with the standalone openwhisk, does it work?

--
  Michele Sciabarra
  mich...@sciabarra.com

----- Original message -----
From: Alexander Klimetschek <aklim...@adobe.com.INVALID>
To: "dev@openwhisk.apache.org" <dev@openwhisk.apache.org>
Subject: Re: Preview of a OpenWhisk IDE & Debugger... and an help request
Date: Wednesday, February 19, 2020 7:02 PM

Bertrand wrote:
> IIUC there's no bundling of ngrok with wskdebug and users have to download 
> ngrok separately?

Not quite. Their npm client library is bundled with wskdebug, and this is 
licensed under BSD-2-Clause.

When you run wskdebug you have the option to specify —ngrok on the command line 
which will by default use their free tier service, or you could also use their 
paid plans if you want to (I think). Free tier is enough for wskdebug though.

Cheers,
Alex

Reply via email to