# 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._request_response(context)
            mock_run_lambda.return_value = '1.3'
            response = lambda_api.invoke_function(self.FUNCTION_NAME)
            self.assertEqual(b'1.3\n', response[0].response[0])
            self.assertEqual(200, response[1])
            self._assert_contained({'Content-Type': 'application/json'}, response[2])
    @mock.patch('localstack.services.awslambda.lambda_api.run_lambda')
    def test_invoke_boolean_json_response(self, mock_run_lambda):
        with self.app.test_request_context() as context:
            self._request_response(context)
            mock_run_lambda.return_value = 'true'
            response = lambda_api.invoke_function(self.FUNCTION_NAME)
            self.assertEqual(b'true\n', response[0].response[0])
            self.assertEqual(200, response[1])
            self._assert_contained({'Content-Type': 'application/json'}, response[2])
    @mock.patch('localstack.services.awslambda.lambda_api.run_lambda')
    def test_invoke_null_json_response(self, mock_run_lambda):
        with self.app.test_request_context() as context:
            self._request_response(context)
            mock_run_lambda.return_value = 'null'
            response = lambda_api.invoke_function(self.FUNCTION_NAME)
            self.assertEqual(b'null\n', response[0].response[0])
            self.assertEqual(200, response[1])
            self._assert_contained({'Content-Type': 'application/json'}, response[2])
    def test_create_event_source_mapping(self):
        self.client.post('{0}/event-source-mappings/'.format(lambda_api.PATH_ROOT),
            data=json.dumps({'FunctionName': 'test-lambda-function', 'EventSourceArn': TEST_EVENT_SOURCE_ARN}))
        listResponse = self.client.get('{0}/event-source-mappings/'.format(lambda_api.PATH_ROOT))
        listResult = json.loads(listResponse.get_data())
        eventSourceMappings = listResult.get('EventSourceMappings')