Debugging JET Applications on a Device Running Junos OS
For debugging applications on a device running Junos OS, you can configure the trace file and trace option with the system extension-service statement.
For non-daemonized applications that run on the router, you can invoke the debugger at the same time that you install the application.
To load your application along with the debugger:
- Use the request extension-service start invoke-debugger
user@device> request extension-service start invoke-debugger cli application-name.py
Extension-service application 'application-name.py' started with pid: 71246
- Enter help to display a list of the supported
Documented commands (type help <topic>): ======================================== EOF bt cont enable jump pp run unt a c continue exit l q s until alias cl d h list quit step up args clear debug help n r tbreak w b commands disable ignore next restart u whatis break condition down j p return unalias where Miscellaneous help topics: ========================== exec pdb Undocumented commands: ====================== retval rv