python_backend icon indicating copy to clipboard operation
python_backend copied to clipboard

Add debug mode support for python backend

Open so2bin opened this issue 1 year ago • 0 comments

This commit introduces a debug mode for the Triton Python backend. When the environment variable TRITON_DEBUG is set to "1", the backend will import the debugpy module and start listening on a specified port (TRITON_DEBUG_PORT, default is 8003). This feature allows developers to debug their Python backend code with IDE like vscode more effectively.

so2bin avatar Nov 28 '23 08:11 so2bin