Opening the IDE in a deployed app (was Re: [amber-lang] A Word of Encouragement)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Opening the IDE in a deployed app (was Re: [amber-lang] A Word of Encouragement)

Hannes Hirzel
On 4/14/14, Herby Vojčík <[hidden email]> wrote:

>
> Tim Mackinnon wrote:
>> I've reported my results (success).
>
> Thanks.
>
>> Further to this - how would people normally invoke the IDE - I'm assuming
>> you don't normally put a button in your app with the incantation? I think
>> I read that some people put a little "dev time" hidden graphic to launch
>> it - or is there a browser plugin that could invoke it?
>
> While I am developing I add a line of code that opens IDE in the loader
> callback itself... when deploying I just comment it out...
>
> or there may be a little logic... I used to open IDE whenever the page is
> opened on nonstandard port - you deploy to 80, no IDE, you develop on 4000,
> IDE opens.
>
>> Tim
>

Alternatively you can open the IDE through the web console
(Ctrl+Shift+K in Firefox)

and then either

    require('amber/helpers').globals.Browser._open()

or

    require('amber/helpers').popupHelios()

--Hannes

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.