Skip to main content

Adds PyCharm debugging support to PyXLL.

Project description

PyXLL-PyCharm

PyCharm debugging support for PyXLL.

Requires:

  • PyXLL >= 5.0.0
  • PyCharm Professional

To install this package use:

pip install pyxll-pycharm

Once installed a "PyCharm Debug" button will be added to the PyXLL ribbon tab in Excel, so long as you have PyXLL 5 or above already installed.

To debug your Python code running in Excel with PyXLL

  1. Create a new Run Configuration in PyCharm using the "Python Debug Server" template.
  2. Install the "pydev-pycharm" package using the exact version specified in your new Run Configuration.
  3. Change the port in your Run Configuration to 5000.
  4. Run the new Run Configuration using the green "Debug" button in PyCharm.
  5. Connect Excel to PyCharm using the "PyCharm Debug" button in Excel.

To configure add the following to your pyxll.cfg file (default values shown):

[PYCHARM]
port = 5000
suspend = 0
stdout_to_server = 1
stderr_to_server = 1
disable_ribbon = 0

For more information about installing and using PyXLL see https://www.pyxll.com.

Copyright (c) 2020 PyXLL Ltd

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pyxll_pycharm-0.2.1-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file pyxll_pycharm-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyxll_pycharm-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.7.1 requests/2.26.0 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

File hashes

Hashes for pyxll_pycharm-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3c9ade5ce12996aae31606e0c8a5352157ae003295217708f92eddf70f00af6
MD5 05d0fbd609f15f98ffac9e50eae9583d
BLAKE2b-256 3e23174c231e5e3d733958dec8ed6d29020ab7ce08481744a2714f630e8b440d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page