# \#debugging

**URL:** https://discuss.bitrise.io/tag/debugging/19.md

[Latest](https://discuss.bitrise.io/latest.md) · [Categories](https://discuss.bitrise.io/categories.md) · [Tags](https://discuss.bitrise.io/tags.md)

---

## [New: 2 environment variables that pinpoint your build failure!](https://discuss.bitrise.io/t/new-2-environment-variables-that-pinpoint-your-build-failure/25007)

<div class="topic-metadata">

**Author:** [@kaushal.bitrise](https://discuss.bitrise.io/u/kaushal.bitrise)\
**Replies:** 0\
**Last updated:** [March 7, 2025, 9:52am UTC](https://discuss.bitrise.io/t/new-2-environment-variables-that-pinpoint-your-build-failure/25007 "2025-03-07T09:52:43Z")

</div>

Hey folks :waving\_hand: There’s a better way to diagnose build failures. Bitrise now exposes two new environment variables – Key Value $BITRISE\_FAILED\_STEP\_TITLE The title of the Step that first fails in a buil…

---

## [How to debug your build locally / "It works on my Mac/PC but not on bitrise.io"](https://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)

<div class="topic-metadata">

**Author:** [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Replies:** 8\
**Last updated:** [October 29, 2020, 1:47pm UTC](https://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392 "2020-10-29T13:47:54Z")

</div>

If the build works on your local Mac/PC but not on bitrise.io, that’s usually because of uncommitted / gitignored files or a tool version difference. There can be other reasons, for example in case of iOS code signing er…

---

## [Changing on which repository the VM thinks I am working](https://discuss.bitrise.io/t/changing-on-which-repository-the-vm-thinks-i-am-working/832)

<div class="topic-metadata">

**Author:** [@pixelsama](https://discuss.bitrise.io/u/pixelsama)\
**Replies:** 1\
**Last updated:** [February 17, 2017, 1:46pm UTC](https://discuss.bitrise.io/t/changing-on-which-repository-the-vm-thinks-i-am-working/832 "2017-02-17T13:46:13Z")

</div>

This conversation started in a support chat with 'Viktor'. What it boils down to is this: Usually, when I am working locally in a directory that is a git repository with a .git dir, when I do a git status it gives me i…
