Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add troubleshooting doc #14565

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Add troubleshooting doc #14565

merged 1 commit into from
Jul 15, 2024

Conversation

anthony-c-martin
Copy link
Member

@anthony-c-martin anthony-c-martin commented Jul 15, 2024

Since I'm often re-explaining how to enable tracing, I thought it would be useful to have the instructions written in a GitHub doc. We can also use this doc to add other user-facing troubleshooting tips.

Microsoft Reviewers: Open in CodeFlow

Copy link
Contributor

@shenglol shenglol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Contributor

github-actions bot commented Jul 15, 2024

Test this change out locally with the following install scripts (Action run 9943392331)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 9943392331
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 9943392331"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 9943392331
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 9943392331"

```
1. (Windows) Run the following in a PowerShell window:
```powershell
$env:BICEP_TRACING_ENABLED = $true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why pwsh for Windows? They might be running under ccommand prompt

Copy link
Contributor

Dotnet Test Results

    68 files   -     40       2 errors  66 suites   - 42   14m 28s ⏱️ - 17m 46s
10 947 tests  -     28  10 947 ✅  -     28  0 💤 ±0  0 ❌ ±0 
21 265 runs   - 17 440  21 265 ✅  - 17 440  0 💤 ±0  0 ❌ ±0 

For more details on these parsing errors, see this check.

Results for commit 760c029. ± Comparison against base commit 0312d15.

@anthony-c-martin anthony-c-martin merged commit 9dc6238 into main Jul 15, 2024
43 of 44 checks passed
@anthony-c-martin anthony-c-martin deleted the anthony-c-martin-patch-3 branch July 15, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants