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

Capture if dependent tasks are found #2118

Merged
merged 1 commit into from
Jun 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions src/debugging/DockerDebugConfigurationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export class DockerDebugConfigurationProvider implements DebugConfigurationProvi

private async resolveDebugConfigurationInternal(context: DockerDebugContext, originalConfiguration: DockerDebugConfiguration): Promise<DockerDebugConfiguration | undefined> {
context.runDefinition = await getAssociatedDockerRunTask(originalConfiguration);
context.actionContext.telemetry.properties.runTaskFound = context.runDefinition ? 'true' : 'false';

const helper = this.getHelper(context.platform);
const resolvedConfiguration = await helper.resolveDebugConfiguration(context, originalConfiguration);
Expand Down
1 change: 1 addition & 0 deletions src/tasks/DockerRunTaskProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export class DockerRunTaskProvider extends DockerTaskProvider {
context.actionContext.telemetry.properties.containerOS = definition.dockerRun.os || 'Linux';

context.buildDefinition = await getAssociatedDockerBuildTask(task);
context.actionContext.telemetry.properties.buildTaskFound = context.buildDefinition ? 'true' : 'false';

const helper = this.getHelper(context.platform);

Expand Down