Skip to main content

Unofficial DayZ debugging tool for VSCode and development package in Python.

Project description

DayZ Debug Port (Python)

DayZ Debug Port is an unofficial project for DayZ modders to enable debugging outside the Workbench app that ships with DayZ tools.

🔧 Initial setup

To have the game connect to the DayZ Debug Port, you'll need to run the DayZDiag_x64.exe executable instead of the vanilla DayZ_x64.exe binary. Once the game runs, it will auto-connect to the extension.

dayzdiag

Setup Recompile on Host (Ctrl+F7)

For Recompile on Host (Ctrl+F7) to work, you'll need to run DayZDiag_x64.exe with -filePatching flag and setup shortcuts from the game's installation folder to the projects to enable filePatching on as explained in DayZ: Modding Basics - Preparing FilePatching.

Here's an example command to create a shortcut:

mklink /J "DayZInstallationFolder\FirstMod" "P:\FirstMod"

NOTE: Recompile only reloads the code! If your recompiled code doesn't run make sure it isn't something that runs once on game startup / mission startup / player connection.

(YouTube) VSCode DayZ Debug Port Quickstart Guide

VSCode DayZ Debug Port Quickstart Guide

📟 Python Package & Debug Console

The foundation for this extension is the Python package that can connect to the game and talk to it in the right protocol.

This package is bundled as an exe with the extension and talks to it using a websocket. The package also has a debug console that provides lower-level access to the functionality exposed via the VSCode extension.

console

Project details


Download files

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

Source Distribution

dzdbgport-0.3.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dzdbgport-0.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file dzdbgport-0.3.0.tar.gz.

File metadata

  • Download URL: dzdbgport-0.3.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.2 Windows/11

File hashes

Hashes for dzdbgport-0.3.0.tar.gz
Algorithm Hash digest
SHA256 089666470a5ead3493a6ea6855e259344d350a7f3ce9509da616a03be093806c
MD5 4c9ab19206b2d84f0df54d63be8fc21f
BLAKE2b-256 5bac1c22958b779c95ea0e462160f0cee284b278cb8782e5ce3f16fa782bd7b7

See more details on using hashes here.

File details

Details for the file dzdbgport-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dzdbgport-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.2 Windows/11

File hashes

Hashes for dzdbgport-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dcf4ab0aa265b835b4569dc15c330d8d9dcc2e7b9259996fe84b01736bea73bd
MD5 a4673802c911adc3ea9443b8774af58a
BLAKE2b-256 245628b70fb891895a862f066268ce318541cd3f9e1e9a7bb23028c52f9c42d7

See more details on using hashes here.

Supported by

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