{"id":129110,"date":"2018-05-29T08:48:47","date_gmt":"2018-05-29T06:48:47","guid":{"rendered":"https:\/\/www.justinmind.com\/blog\/how-to-debug-your-plugins-code\/"},"modified":"2025-02-13T19:07:50","modified_gmt":"2025-02-13T18:07:50","slug":"how-to-debug-your-plugins-code","status":"publish","type":"post","link":"https:\/\/www.justinmind.com\/de\/hilfe\/code-ihres-plugins-debuggen","title":{"rendered":"Wie Sie den Code Ihres Plugins debuggen"},"content":{"rendered":"<p>Sie k\u00f6nnen den Code Ihres Plugins debuggen, um m\u00f6gliche Fehler zu beheben und die Ausf\u00fchrung des Codes Zeile f\u00fcr Zeile zu sehen. Zun\u00e4chst m\u00fcssen wir die Justinmind-Anwendung f\u00fcr die Ausf\u00fchrung konfigurieren, damit sie debuggen kann.   <\/p>\n<h2><a id=\"setting-up-debug\"><\/a>Konfigurieren Sie Ihre Justinmind-Anwendung<\/h2>\n<p>Suchen Sie die Datei &#8218;Justinmind.cfg&#8216; in Ihrem Justinmind-Installationsordner (beachten Sie, dass wir in diesem Fall die Justinmind-Anwendung meinen, nicht das SDK). Auf dem Mac klicken Sie mit der rechten Maustaste auf die Justinmind-Anwendung und w\u00e4hlen Sie &#8218;Paketinhalt anzeigen&#8216;. Die Datei befindet sich in einem der Ordner.  <\/p>\n<p>F\u00fcgen Sie die folgende Zeile unter  [JVMOptions]<\/p>\n<p>-agentlib:jdwp=transport=dt_socket,adresse=9000,server=y,suspend=n<\/p>\n<h2><a id=\"debugging-plugin\"><\/a>Richten Sie Ihr Justinmind SDK ein<\/h2>\n<p>\u00d6ffnen Sie Ihr Justinmind SDK und bearbeiten Sie die Debug-Konfiguration Ihres Projekts wie folgt:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-14303\" src=\"https:\/\/www.justinmind.com\/wp-content\/uploads\/2021\/02\/debug-justinmindskd-1.png\" alt=\"debugging-config-justinmindsdk\"><br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-14303\" src=\"https:\/\/www.justinmind.com\/wp-content\/uploads\/2021\/02\/debug-justinmindsdk-2.png\" alt=\"debuggen-justinmindsdk\"><\/p>\n<h2><a id=\"launching-plugin\"><\/a>Fehlersuche in Ihrem Plugin<\/h2>\n<ol>\n<li>\u00d6ffnen Sie die Anwendung Justinmind.<\/li>\n<li>Richten Sie die gew\u00fcnschten Haltepunkte im Code Ihres Plugins in Justinmind SDK ein.<\/li>\n<li>F\u00fchren Sie Ihr Plugin-Projekt unter Verwendung der Debug-Konfiguration in Justinmind SDK aus.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Sie k\u00f6nnen den Code Ihres Plugins debuggen, um m\u00f6gliche Fehler zu beheben und die Ausf\u00fchrung des Codes Zeile f\u00fcr Zeile zu sehen. Zun\u00e4chst m\u00fcssen wir die&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[8546,8551],"tags":[],"class_list":["post-129110","post","type-post","status-publish","format-standard","hentry","category-benutzerhandbuch","category-api-und-plugins"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/posts\/129110"}],"collection":[{"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/comments?post=129110"}],"version-history":[{"count":1,"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/posts\/129110\/revisions"}],"predecessor-version":[{"id":129232,"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/posts\/129110\/revisions\/129232"}],"wp:attachment":[{"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/media?parent=129110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/categories?post=129110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.justinmind.com\/de\/wp-json\/wp\/v2\/tags?post=129110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}