Skip to content

Investigate an extension contribution point for a notebook type debugger #132014

@roblourens

Description

@roblourens

Breakpoints in notebook cells show up when there is a debugger registered for that language, same as editors. This isn't really right for notebooks where the Python DA doesn't work for Python cells, the Jupyter DA is separate. So we should consider a change to the package.json contribution. Have discussed this a little the past couple months but haven't done any work for it.

  • There is a breakpoints contribution point which is a list of { language: string }. That object could also include notebookType
  • When deciding to show the breakpoint margin in a notebook, we would check this property and not check the language property

cc @weinand @isidorn does this sound ok?

Something that I don't remember is why the debug adapter has a "languages" property which isn't used for this, and the breakpoints config is separate from the debug adapter. Would there be debug adapters that don't support breakpoints?

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalitynotebookunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions