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

[CLOSED] Disabled remote-debugging by default and appshell.app.getRemoteDebuggingPort() needs a callback argument to work #440

Open
core-ai-bot opened this issue Aug 17, 2021 · 3 comments

Comments

@core-ai-bot
Copy link
Member

Issue by jha-g
Wednesday Nov 06, 2019 at 13:38 GMT
Originally opened as adobe#668


  • Disabling remote debugging by default, and it can be enabled by passing a command line arg as --remote-debugging-port=xxxx
  • Changed appshell.app.getRemoteDebuggingPort() implementation to require a callback
  • Added validation for port range, and also without remote-debugging-port we will not be able to debug brackets using a browser, and if browser debugging is disabled, appshell.app.getRemoteDebuggingPort(callback) will print 0

jha-g included the following code: https://github.com/adobe/brackets-shell/pull/668/commits

@core-ai-bot
Copy link
Member Author

Comment by jha-g
Monday Nov 11, 2019 at 06:16 GMT


Addressed all the review comments.

@core-ai-bot
Copy link
Member Author

Comment by swmitra
Monday Nov 11, 2019 at 09:36 GMT


@vickramdhawal Can you please take a quick look?

@core-ai-bot
Copy link
Member Author

Comment by jha-g
Monday Nov 11, 2019 at 17:33 GMT


@vickramdhawal Addressed review comments. It is not possible to use g_handler to hold remote-debugging-port as g_handler does not get initialized while we are parsing command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant