Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
Report telemetry for props used in debug config
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Mar 19, 2017
1 parent 13726c5 commit 6c1926a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chrome/chromeDebugAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {
this._sourceMapTransformer.launch(args);
this._pathTransformer.launch(args);

telemetry.reportEvent('debugStarted', { request: 'launch' });
telemetry.reportEvent('debugStarted', { request: 'launch', args: Object.keys(args) });
return Promise.resolve();
}

Expand All @@ -210,7 +210,7 @@ export abstract class ChromeDebugAdapter implements IDebugAdapter {
return utils.errP('The "port" field is required in the attach config.');
}

telemetry.reportEvent('debugStarted', { request: 'attach' });
telemetry.reportEvent('debugStarted', { request: 'attach', args: Object.keys(args) });
return this.doAttach(args.port, args.url, args.address, args.timeout);
}

Expand Down

0 comments on commit 6c1926a

Please sign in to comment.