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

[Bug] Unable to insert configuration into sublime-project file #189

Closed
LDAP opened this issue Oct 25, 2022 · 5 comments
Closed

[Bug] Unable to insert configuration into sublime-project file #189

LDAP opened this issue Oct 25, 2022 · 5 comments

Comments

@LDAP
Copy link
Contributor

LDAP commented Oct 25, 2022

Debugger fails to add a configuration to a sublime project if the key debugger_configurations is not present.

Debugger: ProjectConfiguration.reload
Debugger: No project associated with window
Debugger:Traceback (most recent call last):
  File "/home/lucas/.config/sublime-text/Packages/Debugger/modules/adapters_registry.py", line 81, in _insert_snippet
    raise core.Error('Unable to find debugger_configurations')
Debugger.modules.core.error.Error: Unable to find debugger_configurations

--
error: Unable to insert configuration into sublime-project file: Copied to clipboard instead
@daveleroy
Copy link
Owner

Snippet insertion is not supported when not using a sublime-project at the moment

@LDAP
Copy link
Contributor Author

LDAP commented Oct 25, 2022

That was with an active sublime project.

@dongguaguaguagua
Copy link

change your sublime-project into this:

{
	"folders": [
		{
			"path": "."
		},
	],
	"debugger_tasks": [
	],
	"debugger_configurations": [
	],
}

@LDAP
Copy link
Contributor Author

LDAP commented Nov 17, 2022

change your sublime-project into this:

Thanks @dongguaguaguagua I already did this as a workaround. However, Debugger should be able to insert snippets into sublime projects with missing debugger_* keys as well.

@daveleroy
Copy link
Owner

Its supposed to add debugger_configurations when first opening the debugger. Should be fixed here 73acaf1

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

3 participants