seamless icon indicating copy to clipboard operation
seamless copied to clipboard

Support debugging sessions (with breakpoints etc.) for other IDEs than VSCode

Open sjdv1982 opened this issue 2 years ago • 0 comments

Under the hood, debugging is based on debugpy (for Python transformers/modules) and gdb (for compiled modules. Note that at the low level, compiled transformers are in fact Python transformers with a compiled module). Extra complication: Seamless runs in a Docker container.

Any IDE could be supported that can interact with Docker + debugpy + gdb, and/or in bare metal (conda environment instead of Docker). Currently, the necessary plumbing has been done only for VSCode (synthesizing launch.json entries).

Files to modify:

  • https://github.com/sjdv1982/seamless/blob/master/seamless/metalevel/ide.py
  • https://github.com/sjdv1982/seamless/blob/master/seamless/metalevel/debugmode.py

sjdv1982 avatar Sep 05 '22 09:09 sjdv1982