Debugger - Maya
A Sublime Text 3/4 package that connects with the Debugger plugin to debug Python code in Maya
Details
Installs
- Total 153
- Win 153
- Mac 0
- Linux 0
May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | May 12 | May 11 | May 10 | May 9 | May 8 | May 7 | May 6 | May 5 | May 4 | May 3 | May 2 | May 1 | Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
A Debug Adapter for Debugging Python within Maya
This adapter serves as a “middleman” between the Sublime Debugger plugin and a DAP implementation for python (ptvsd) injected into Maya.
It intercepts a few DAP requests to establish a connection between the debugger and Maya, and otherwise forwards all communications between the debugger and ptvsd normally.
Installation
To install from repo, - Open Sublime - Install the “Debugger” plugin with Package Control if not done already - In the “Preferences” menu, select “Browse Packages…” - Clone this repository into the folder opened by Sublime
Use
- Open the project you want to debug
- If the debugger isn't open, select “Open” in the “Debugger” menu option
- If it still doesn't open, ensure your project settings (Project -> Edit Project) are not empty
- Under the “Debugger” menu, select “Add or Select Configuration”
- Select “Add Configuration” from the suggestions
- There should be a “Maya: Python Debugging” option, click on it
- You should have your project settings automatically opened, edited with the configuration
- Save your project settings
- Go back to Debugger -> Add or Select Configuration, and select Maya: Python Debugging
The Maya Adapter should now be functional just by pressing play. It will guide you with how to connect to Maya itself.
Note
Currently only tested on Windows