IDACode faciliates the usage and development of IDAPython scripts. It features the execution of Python scripts in your IDA instance and a debugger that allows you to debug your scripts.
IDACode supports the following main features:
- Script execution in IDAs environment
- Debugging scripts with VS Code's remote debugger
In order to use IDACode ensure that you have set all necessary information in IDACode's extension settings. For information on how to set up IDACode for IDA please refer to the project repository.
IDACode requires the following settings to be set in order to function correctly:
IDACode.host
: the host address that is running IDAIDACode.port
: the port IDA is listening onIDACode.debug.port
: the debug port the IDAPython debugger is listening on
To enable autocomplete for your scripts create a file called .env
and extend your existing PYTHONPATH
environment variable with the path to your IDAPython modules. An example .env
could be:
PYTHONPATH=%PYTHONPATH%;C:\Program Files\IDA 7.4\python\3
IDACode doesn't support host to VM communication unless the VM uses a shared volume that matches the workspace path set in VS Code when connecting to IDA.
- Initial release
- IDAPython execution
- IDAPython debugger
- Added logging support
- Enhanced UX
- Added configuration checks
- Added support for Python 2
- Added "Save on execute" support in settings
- Added "Execute on save" support in settings
- Fixes Python 3.8 support on Windows (PR #13)
- Introduces
__name__
inside of the script environment as__main__
(Issue #14)
- Updated README
- Fixed Python 2 support (PR #17)
- Fixed issue where debugpy would attempt to spawn the current process (Issue #23)