# Type of request: This is a ...

[x] bug report
[ ] feature request

# Detailed description

Support different ways of configuring debug ports for Java lambdas

```
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=_debug_port_
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:_debug_port_
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=127.0.0.1:_debug_port_
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:_debug_port_

-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=1234
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:1234
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=127.0.01:1234
-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:1234

````

## Expected behavior

Ports are parsed correctly


self.assertDictEqual(self.TAGS, result['Tags'])
    def test_tag_non_existent_function_returns_error(self):
        with self.app.test_request_context():
            arn = lambda_api.func_arn('non-existent-function')
            response = self.client.post(
                '{0}/tags/{1}'.format(lambda_api.PATH_ROOT, arn),
                data=json.dumps({'Tags': self.TAGS}))
            result = json.loads(response.get_data())
            self.assertEqual(self.RESOURCENOTFOUND_EXCEPTION, result['__type'])
            self.assertEqual(
                self.RESOURCENOTFOUND_MESSAGE % arn,
                result['message'])
    def test_untag_resource(self):
        with self.app.test_request_context():
            self._create_function(self.FUNCTION_NAME, tags=self.TAGS)
            arn = lambda_api.func_arn(self.FUNCTION_NAME)
            response = self.client.get('{0}/tags/{1}'.format(lambda_api.PATH_ROOT, arn))
            result = json.loads(response.get_data())
            self.assertTrue('Tags' in result)
            self.assertDictEqual(self.TAGS, result['Tags'])
            self.client.delete('{0}/tags/{1}'.format(lambda_api.PATH_ROOT, arn), query_string={'tagKeys': 'env'})
            response = self.client.get('{0}/tags/{1}'.format(lambda_api.PATH_ROOT, arn))
            result = json.loads(response.get_data())
            self.assertTrue('Tags' in result)
            self.assertDictEqual({'hello': 'world'}, result['Tags'])
    def test_java_options_empty_return_empty_value(self):
        lambda_executors.config.LAMBDA_JAVA_OPTS = ''
        result = lambda_executors.Util.get_java_opts()
        self.assertFalse(result)
    def test_java_options_with_only_memory_options(self):