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

Clarify download info link in "Securely debug original code" #3200

Merged
merged 2 commits into from
Jun 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,25 @@ module.exports = (env, args) => {
<!-- ====================================================================== -->
## Step 3: Publish source maps to the Azure Artifacts symbol server

Complete either one of the following options to publish source maps.
To publish source maps to the Azure Artifacts symbol server, use either one of the following approaches:
* [Publish source maps using Azure DevOps Pipelines](#publish-source-maps-using-azure-devops-pipelines).
* [Publish source maps using []`symbol.exe`](#publish-source-maps-using-symbolexe).
mikehoffms marked this conversation as resolved.
Show resolved Hide resolved

### Publish source maps using Azure DevOps Pipelines
These approaches are described below.


<!-- ------------------------------ -->
#### Publish source maps using Azure DevOps Pipelines

Azure DevOps comes with the [`PublishSymbols@2`](/azure/devops/pipelines/tasks/build/index-sources-publish-symbols) pipeline build task. This task can be used to publish your source maps to the Azure Artifacts symbol server.

Make sure that you configure this task with the `indexableFileFormats` parameter set to either `All` or `SourceMap`.


### Publish source maps using `symbol.exe`
<!-- ------------------------------ -->
#### Publish source maps using `symbol.exe`

The Symbol Server team publishes a .NET Core application, `symbol.exe`, which [can be downloaded](/rest/api/azure/devops/symbol/client/get) automatically. After downloading `symbol.exe`, you can run a command to publish your source maps to the Azure Artifacts symbol server:
The Symbol Server team publishes a .NET Core application, `symbol.exe`, which can be downloaded automatically, as described in [Client - Get](/rest/api/azure/devops/symbol/client/get). After downloading `symbol.exe`, you can run a command to publish your source maps to the Azure Artifacts symbol server:

```cmd
symbol publish
Expand All @@ -183,7 +190,7 @@ symbol publish
--indexableFileFormats SourceMap
```

Note here that the `-n` parameter must be unique. Repetition of job names, even failed job names, will be rejected.
The `-n` parameter must be unique. Job names that are repeated will be rejected, including names of jobs that failed.


<!-- ====================================================================== -->
Expand Down
Loading