Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Now we provide a reason of why start-up failed #630

Merged
merged 3 commits into from
Mar 26, 2018

Conversation

digeff
Copy link
Contributor

@digeff digeff commented Mar 23, 2018

When we are asked to go to an unreachable url, we'll add that information to the start-up timings telemetry.

This PR requires this -core PR: microsoft/vscode-chrome-debug-core#316

@roblourens
Copy link
Member

Merge conflicts

// Chrome started to navigate to the user's requested url
this.events.emit(ChromeDebugSession.FinishedStartingUpEventName);
this.events.emit(ChromeDebugSession.FinishedStartingUpEventName, { requestedContentWasDetected: true } as FinishedStartingUpEventArguments);
Copy link
Member

Choose a reason for hiding this comment

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

Do these all need a cast?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I use the cast to make sure I'm sending the right properties.
If I don't put the cast, the object is of type any, and anything is considered valid.
If I put the cast, then the compiler will fail if I don't put the valid properties here.

Copy link
Member

Choose a reason for hiding this comment

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

I was thinking 'emit' was typed here

@digeff digeff force-pushed the startup_fail_reason branch from 3331046 to a2a5c18 Compare March 23, 2018 23:11
@roblourens
Copy link
Member

Check CI?

@roblourens
Copy link
Member

Please do this for node2 also

@roblourens roblourens merged commit a5611dc into microsoft:master Mar 26, 2018
@digeff digeff deleted the startup_fail_reason branch March 26, 2018 18:30
@roblourens roblourens added this to the March 2018 milestone Apr 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants