seamless
seamless copied to clipboard
Support debugging sessions (with breakpoints etc.) for other IDEs than VSCode
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