-
Notifications
You must be signed in to change notification settings - Fork 683
Troubles writing an IDE debugger plugin #1502
Comments
Beside these dependencies errors in In Pls note that I have to use the published npm package I have a feeling that the whole ecosystem around developing a debugger plugin for atom-ide-ui is not ready yet... |
Also leaving aside these problem, I now have another problem. As suggested I tried to model my debugger based on the atom-ide-debugger-node. It uses the Unfortunately there is no way to provide my own So I cannot use the AutoGen stuff and in the end have to create my own UI and start the debugger myself. TBH this does not seem right... IMO options like |
@Goom11 sounds reasonable to add a way to provide an adapterExecutable. it looks like currently the only supported ones are hardcoded in debugger-registry.js |
@pelmers yes, moreover it checks against the existing keys which are not visible from the point of debugger plugin developer. also if there is a way to supply type information to existing adapters like |
I'm currently trying to write a atom-ide-ui debugger.
As mentioned in the README of atom-ide-ui
Which uses
nuclide-debugger-common/AutoGenLaunchAttachProvider
.So I started a new project and added
flow-bin
(0.70.0) andnuclide-debugger-common
(0.7.0) to my dependencies.Now
flow status
reports 52 errors when I importnuclide-debugger-common/AutoGenLaunchAttachProvider
.Here is the
flow status
output: errors-52.txtOnce I added https://github.com/facebook/nuclide/blob/master/flow-libs/atom.js.flow to my
flow-libs
folder (and add it in the flowconfig too) the number dropped to 38: errors-38.txtAfter adding
to
atom.js.flow
the number of errors dropped to 29: errors-29.txtI just want to build a new debugger... 😭
Here is a minimal project to reproduce it
my-debugger.zip
Am I missing something?
Or is the npm package
nuclide-debugger-common
faulty (and maybe others too)?The text was updated successfully, but these errors were encountered: