For debugging plugin code I run with PACKER_LOG=1 and try to understand the
problem. Usuually that is enough to pinpoint the problem if not I at least
get to know which step is failing and then I can just add some debug print
outs and recompile the code. This works very well with packer since the
code is so linear and each step have a very clear purpose.

On 15 May 2018 at 23:40, Alvaro Miranda Aguilera <kiki...@gmail.com> wrote:

> packer will try to run in parallel when multiple providers are present.
>
> and then some task will be in parallel, like multiple post-processors
>
> what do you want to debug?
>
> Can you provide more context?
>
> Alvaro.
>
>
> On Tue, May 15, 2018 at 10:45 PM, Ilya Lesikov <bitit...@gmail.com> wrote:
>
>> Packer uses panicwrap (github.com/mitchellh/panicwrap), which, as I
>> understand, spawns different process, so debugger like Delve doesn't work
>> in this case.
>> Feels like I am encountering a bug and I want to investigate, but
>> PACKER_LOG=1 does not give me enough info.
>> So I am curious, how guys at Hashicorp debug their product? Thanks.
>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to packer-tool+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/packer-tool/a44f4551-8b5e-49cc-8712-58d7380ab8f9%40googlegroups.com
>> <https://groups.google.com/d/msgid/packer-tool/a44f4551-8b5e-49cc-8712-58d7380ab8f9%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Alvaro
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to packer-tool+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/CAHqq0ez1AxObF_dtqHBXHCD9dhwvO8j2f7GC6dtbCmqh
> _L7L4A%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAHqq0ez1AxObF_dtqHBXHCD9dhwvO8j2f7GC6dtbCmqh_L7L4A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt8_V1tEQ8hw0DSbzioBSKKV%3Due6RvNgYF3%3D9sZxJOuprQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to