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

Improved console error messages #669

Merged

Conversation

g-217
Copy link
Contributor

@g-217 g-217 commented Nov 15, 2019

For --remote-debugging-port beyond allowed range, error message will be:

$ ./xcodebuild/Release/Brackets.app/Contents/MacOS/Brackets --remote-debugging-port=65535
[1115/144405:ERROR:cefclient.cpp(116)] Cannot enable remote debugging on port 65535. Port numbers should be between 1025 and 65534.

For --remote-debugging-port beyond parsing range of strtol, error message will be:

$ ./xcodebuild/Release/Brackets.app/Contents/MacOS/Brackets --remote-debugging-port=99999999999999999999
[1115/144412:ERROR:cefclient.cpp(104)] Could not enable remote debugging. Error while parsing remote-debugging-port arg: 99999999999999999999

@g-217
Copy link
Contributor Author

g-217 commented Nov 15, 2019

@niteskum
Copy link
Contributor

LGTM

@g-217
Copy link
Contributor Author

g-217 commented Nov 18, 2019

This is in continuation from PR #668

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.

3 participants