-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Document how to use OSS build as a daily driver #3029
Comments
Note that even following these steps, I'm still unable to get extensionHost debugging working, because pressing F5 launches the generic electron window instead of a child vscode instance:
This is probably(?) from the difference in the way the app gets invoked. In the release, it's running the Code binary, but code.sh runs the build launching electron directly.
|
Re #2863, package maintainers will probably want to change over to using locally generated sourcemaps instead of downloading them at build time. |
@weinand any comment on why the debuggers don't work in oss? |
@Tyriar the 'debuggers' just work fine in oss for 'normal' programs. This is not a debugger issue. @ghost The issue with the use case from above is that electron needs to be launched in a way that it behaves like VS Code and not like a generic Electron app. For this it is necessary to pass the VS Code workspace path as a first argument to the runtime. Here is a modified launch config for that case: Additional remarks:
@bpasero would it be possible to detect the use case from above and automatically pass the VS Code workspace path as the first argument? This would simplify the setup for extension developers who wants to selfhost on VS Code because they would not have to tweak their launch configs. |
Clarifying product name and its licensing. Related to microsoft#60, microsoft#1230, microsoft#2982, microsoft#3029, microsoft#5342, microsoft#17996. Based on @chrisdias [comment](microsoft#2983 (comment)) and [comment](microsoft#60 (comment))
Closing this off, the requesters are all 👻 |
Need to document how to get an OSS build into working condition as a daily driver.
Having this process documented in a central location would also be useful for package maintainers. (For example, if Ubuntu were to decide to start shipping vscode.)
Compared to the 0.10.8 (January) release of vscode, the oss build also includes vscode-api-tests, but it's removed in the release version, which makes sense.
The release version also includes jrieken.vscode-omnisharp, but the oss build doesn't. (Not really sure why. Probably an oversight?).
Aside from that, the only other difference I can find with the extensions is that the node-debug and mono-debug "extensions" in the oss build are just stub packages (node-debug-placeholder and mono-debug-placeholder).
As noted in issue #60, comment 6, the release ships with a different product.json. Some of the differences are cosmetic, others fill in service endpoints. Here are the most notable differences:
This isn't an exhaustive listing, but it's not meant to be. However, some document that includes this information needs to exist, and going ahead and mentioning it in this comment is a starting point.
The text was updated successfully, but these errors were encountered: