Christophe Smet

    Christophe Smet

    2 years ago
    Stupid question.
    ./gradlew local
    works perfect, but i launches a new docker instance every time. How can I deploy something locally again without new docker instances?
    TanVD

    TanVD

    2 years ago
    Hm, it launches docker only for AWS emulation -- have you enabled it?
    Christophe Smet

    Christophe Smet

    2 years ago
    Yes and it works. But it spins up new instances every time I run ./gradlew local
    Ideally it would see that it has already spun it the image and just recompile and deploy locally. Or did I use the incorrect command?
    Still figuring out how to create dev/prd envs but it works GREAT for the rest!
    TanVD

    TanVD

    2 years ago
    Hm, does previous docker image stops before new spins up? I have to restart due to possible configuration changes 😞
    Why is it problem for you that is spins up each time? Does it take too much time? Or is it takes too much storage?
    I mean that depending on a problem I can fix it in one way or another 🙂
    Christophe Smet

    Christophe Smet

    2 years ago
    Everything was going really slow locally, I saw that I had 20+ instances running. mmh I was doing terraform changes indeed.
    it’s not really a blocker, Im still figuring out a development flow. I read that it has in-ide debugging. But I dont see how to make it work. I would LOVE breakpoints 😛 Attaching to runnnig processes isnt working.
    TanVD

    TanVD

    2 years ago
    Hm, have you tried just running with debug task
    local
    ?)
    Christophe Smet

    Christophe Smet

    2 years ago
    Thanks for the video. Yes I am using the local task. Strange, the webserver works. But breakpoints are not being triggered. Any idea in what direction I should look? Im not experience with how the connection is made.
    TanVD

    TanVD

    2 years ago
    Well, it is pretty strange. I would try to update or reinstall IntelliJ. Most likely the problem is one the side of IDE
    Here is issue: https://github.com/JetBrains/kotless/issues/49 It'll be fixed in 0.1.6
    Christophe Smet

    Christophe Smet

    2 years ago
    @TanVD Thanks man!!