This is an automated email from the ASF dual-hosted git repository. tmysik pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 96dc4f7 [NETBEANS-5249] PHP debugger - improved Xdebug log hint new 49884ab Merge pull request #2677 from KacerCZ/netbeans-5249-xdebug-log-hint 96dc4f7 is described below commit 96dc4f7efc3551c5b1133bcdbf4ea0f190d62962 Author: Tomas Prochazka <ka...@razdva.cz> AuthorDate: Thu Jan 14 23:20:54 2021 +0100 [NETBEANS-5249] PHP debugger - improved Xdebug log hint https://issues.apache.org/jira/browse/NETBEANS-5249 Added hint how to enable logging with Xdebug 3. --- .../src/org/netbeans/modules/php/dbgp/packets/DbgpMessage.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/DbgpMessage.java b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/DbgpMessage.java index f83cf43..56131db 100644 --- a/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/DbgpMessage.java +++ b/php/php.dbgp/src/org/netbeans/modules/php/dbgp/packets/DbgpMessage.java @@ -51,6 +51,7 @@ import org.xml.sax.SAXException; * */ public abstract class DbgpMessage { + private static final Logger LOGGER = Logger.getLogger(DbgpMessage.class.getName()); private static final String INIT = "init"; // NOI18N private static final String RESPONSE = "response"; // NOI18N @@ -214,8 +215,9 @@ public abstract class DbgpMessage { * Notify user about unexpected format of received packet. */ @NbBundle.Messages("DbgpMessage.packet.error=Error occured during communication with Xdebug.\n\n" - + "Report issue, provide steps to reproduce and attach IDE and ideally also Xdebug log.\n" - + "(Add xdebug.remote_log=/log_path/xdebug.log to your php.ini.)") + + "Report issue, provide steps to reproduce and attach IDE and ideally also Xdebug log.\n\n" + + "Xdebug 3: Add xdebug.log=/log_path/xdebug.log to your php.ini.\n" + + "Xdebug 2: Add xdebug.remote_log=/log_path/xdebug.log to your php.ini.") private static void notifyPacketError(Exception e) { if (e != null) { LOGGER.log(Level.INFO, null, e); @@ -349,6 +351,7 @@ public abstract class DbgpMessage { } public static final class NoneDbgpMessage extends DbgpMessage { + public NoneDbgpMessage(Node node) { super(node); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists