Development: Add Visual Studio Code debugging configuration#10586
Merged
graywolf336 merged 1 commit intodevelopfrom Apr 26, 2018
Merged
Development: Add Visual Studio Code debugging configuration#10586graywolf336 merged 1 commit intodevelopfrom
graywolf336 merged 1 commit intodevelopfrom
Conversation
geekgonecrazy
approved these changes
Apr 25, 2018
Member
|
awesome.. |
Contributor
|
Of course I vote to ship it ;)
|
Contributor
Author
|
Thanks for those remarks! @mrsimpson :) |
Merged
trongthanh
added a commit
to goalifyplus/Goalify.Chat
that referenced
this pull request
May 2, 2018
* develop: Regression: Various search provider fixes (RocketChat#10591) Fix /api/v1/settings.oauth not sending needed info for SAML & CAS (RocketChat#10596) Fix the Apps and Livechats not getting along well with each other (RocketChat#10598) [FIX] Missing "Administration" menu for users with some administration permissions (RocketChat#10551) [FIX] Member list search with no results (RocketChat#10599) Adds Visual Studio Code debugging configuration (RocketChat#10586) [FIX] Integrations with room data not having the usernames filled in (RocketChat#10576)
trongthanh
added a commit
to goalifyplus/Goalify.Chat
that referenced
this pull request
May 2, 2018
* goalify: (104 commits) Regression: Various search provider fixes (RocketChat#10591) Supplement TOS and privacy policy texts for use within server instances Fix /api/v1/settings.oauth not sending needed info for SAML & CAS (RocketChat#10596) Fix the Apps and Livechats not getting along well with each other (RocketChat#10598) [FIX] Missing "Administration" menu for users with some administration permissions (RocketChat#10551) [FIX] Member list search with no results (RocketChat#10599) merge vi-VN and vi json Add and enhance translations Update gitlab, npm package lock, include current server update script Adds Visual Studio Code debugging configuration (RocketChat#10586) [FIX] Integrations with room data not having the usernames filled in (RocketChat#10576) fixed problems with margin negative (RocketChat#10558) Add some information regarding Zapier and Bots to the integrations page (RocketChat#10574) Added target="_blank" to homepage and support link. (RocketChat#10575) [FIX] Stop Firefox announcement overflowing viewport (RocketChat#10503) [FIX] Wordpress oAuth authentication wasn't behaving correctly (RocketChat#10550) Fix inconsistent response of settings.oauth endpoint (RocketChat#10553) Regression: Remove added mentions on quote/reply (RocketChat#10571) Fix the attachments and fields incorrectly failing on validation (RocketChat#10573) Deps update (RocketChat#10549) ...
|
Under wsl ubuntu 20.04, when I start server, error occurs, anyone knows why? /mnt/c/Program Files/nodejs//npm run debug-brk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Special thanks to @mrsimpson for his effort and research, we now have the ability to debug and step through the Rocket.Chat application via Visual Studio Code's amazing debugging!!
There are a few different configurations, so I'll explain what they are:
Attach to meteor debug- use this when you have already started the application vianpm run debugFrontend (Chrome)- this opens a new Chrome instance and allows debugging the client code inside of VSCodeServer (debug)- launches the server code but it only hits breakpoints after Meteor has started upServer (debug-brk)- launches the server code, however it allows setting a breakpoint in code that Meteor calls during the startup phaseServer (Testmode)- works like the regular debug but has the environmental variableTEST_MODEset to true.Server + Frontend- launches both the server and frontend, with the server beingdebug-brkI personally use this and love it now. I nearly always start Rocket.Chat with this now ;)