From 0130f1f794b393cf8ac610773cdc206287e077d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BARTH=C3=89L=C3=89MY?= Date: Wed, 25 Apr 2018 21:12:09 +0200 Subject: [PATCH] Hint about using --on-error=ask when debugging --- website/source/docs/other/debugging.html.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/source/docs/other/debugging.html.md b/website/source/docs/other/debugging.html.md index f71e8b5e4..74f266c96 100644 --- a/website/source/docs/other/debugging.html.md +++ b/website/source/docs/other/debugging.html.md @@ -10,6 +10,9 @@ sidebar_current: 'docs-other-debugging' # Debugging Packer Builds +Using `packer build -on-error=ask` allows you to inspect failures and try out +solutions before restarting the build. + For remote builds with cloud providers like Amazon Web Services AMIs, debugging a Packer build can be eased greatly with `packer build -debug`. This disables parallelization and enables debug mode.