- CONFIGURE PYTHON INTERPRETER IN ECLIPSE ON MAC HOW TO
- CONFIGURE PYTHON INTERPRETER IN ECLIPSE ON MAC MAC OS X
- CONFIGURE PYTHON INTERPRETER IN ECLIPSE ON MAC MAC OS
Tip: Placing the pydbgp.py script in a directory that is on your PATH environment variable, makes the script easier to run.
This is the main script that you run to start a remote debugging session.
CONFIGURE PYTHON INTERPRETER IN ECLIPSE ON MAC MAC OS
Put the bin\pydbgp.py script ( bin/pydbgp on Linux and Mac OS X) somewhere convenient. If this command results in an ImportError then you need to resolve the error before continuing. If this command prints the word “ok”, you can move to the next step. To verify that the setup is correct, run the following command: python -c "import dbgp.client print 'ok'" For example, on Windows, if you copied the files to a directory called C:\debugger, enter the following at the command line: set PYTHONPATH=%PYTHONPATH% C:\debugger Alternatively, you can copy the dbgp directory to a convenient location, and then add that directory to your PYTHONPATH environment variable. You can do this by copying the dbgp directory to the site-packages directory of your Python installation. Set up your Python installation so the dbgp Python package is on your PythonPath.
CONFIGURE PYTHON INTERPRETER IN ECLIPSE ON MAC MAC OS X
Mac OS X /Contents/SharedSupport/dbgp/pythonlib/įor Python3 remote debugging, use the package named python3lib. Alternatively, if your remote machine uses the same platform as the machine on which you installed Komodo, you can get the Python debugger client files from the pythonlib and bin subdirectories of the Komodo installation directory for your platform. Packages are available for download from the Komodo Remote Debugging page. To debug a Python program remotely, the Python debugger client package must be installed on the remote machine. Installing the Python Remote Debugger on the Remote Machine Komodo controls the debugging session once the session starts on the remote machine. When debugging a Python program remotely, the program is executed on the remote machine, and the debug output is sent to Komodo. See Komodo Debugger Functions for full instructions on using Komodo’s debugging functionality. On the Debug menu or Debug Toolbar, click Go/Continue or Step In to invoke the debugging session.
In the Preferences dialog box under Languages, click Python.To specify which Python interpreter Komodo should use to debug and run Python programs locally: The Komodo FAQ has a work-around solution. Note: Breakpoints will not work with the Psyco Python extension enabled. For a summary of debugger commands, see the Debugger Command List. For general information about using the Komodo debugger, see Komodo Debugger Functions.ĭebugger commands can be accessed from the Debug menu, by shortcut keys, or from the Debug Toolbar.
CONFIGURE PYTHON INTERPRETER IN ECLIPSE ON MAC HOW TO
The instructions below describe how to configure Komodo and Python for debugging. Komodo can be used to debug Python programs locally or remotely, including debugging in CGI environments.