-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
DebugConfigurationProvider: provide snippets for launch.json #34668
Comments
We are moving away from this model. So currently it is not possible to add snippets using a command, and we will not add that. Your feature request could be solved by extending the ConfigurationProvider to also provide snippets, thus renaming the issue |
Since the new introduce DebugConfigurationProvider addresses this need, we can close this request. |
Reopening since the |
@weinand additional 2 request:
We only want to show user: so feature request is either provide a hidden property for {
// Use IntelliSense to learn about possible Node.js debug attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Egg Debug",
"runtimeExecutable": "npm",
"runtimeArgs": [ "run", "debug" ],
"console": "integratedTerminal",
"restart": true,
"protocol": "auto",
"port": 9999
},
{
"type": "node",
"request": "launch",
"name": "Egg Master",
"runtimeExecutable": "npm",
"runtimeArgs": [ "run", "debug", "--", "--inspect-brk" ],
"console": "integratedTerminal",
"restart": true,
"protocol": "inspector",
"port": 9229
},
{
"type": "node",
"request": "attach",
"name": "Egg Agent",
"restart": true,
"protocol": "inspector",
"port": 5800
},
{
"type": "node",
"request": "attach",
"name": "Egg Worker",
"restart": true,
"protocol": "inspector",
"port": 9999
}
],
"compounds": [
{
"name": "Egg Debug with brk",
"configurations": [ "Egg Master", "Egg Agent", "Egg Worker" ]
}
]
} |
@atian25 please don't add new feature requests onto existing but unrelated issues. They will be ignored. Create new issues. |
This issue has been closed because the feature it requests is not within the scope of the product. See also our issue reporting guidelines. Happy Coding! |
I believe this can be done using the |
We have a great developer community over on slack where extension authors help each other. This is a great place for you to ask questions and find support. Happy Coding! |
Steps to Reproduce:
#12735 (comment)
@weinand I'm writing a extension to provide debug configurations.
as mentioned at docs
"initialConfigurations": "extension.eggjs.provideInitialConfigurations"
my question is how to link a command to
configurationSnippets
?had try
"configurationSnippets": ["${command.extension.eggjs.provideConfigurationSnippets}"]
and"configurationSnippets": ["extension.eggjs.provideConfigurationSnippets"]
without luck.the command is not trigger.
The text was updated successfully, but these errors were encountered: