From d60a2870814abe2adba249cf1f33c143d76bf813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Garc=C3=ADa?= Date: Fri, 9 Jun 2017 13:29:37 +0200 Subject: [PATCH] fixes error when trying to config breakpoint with no breakpoint --- lib/php-debug.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/php-debug.coffee b/lib/php-debug.coffee index d255c7b..0569dfc 100644 --- a/lib/php-debug.coffee +++ b/lib/php-debug.coffee @@ -340,6 +340,7 @@ module.exports = PhpDebug = if bp.getPath() == path && bp.getLine() == line breakpoint = bp break + return if !breakpoint @settingsView = new BreakpointSettingsView({breakpoint:breakpoint,context:@GlobalContext}) @settingsView.attach()