You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/11/05 08:45:35 UTC
[GitHub] [pulsar] leizhiyuan commented on issue #12406: How to debug the code of pulsar broker In IDE ?
leizhiyuan commented on issue #12406:
URL: https://github.com/apache/pulsar/issues/12406#issuecomment-961718760
or you can add one line
```
OPTS="$OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
```
in bin/pulsar
then, you can run pulsar in local machine, https://pulsar.apache.org/docs/en/standalone/
and debug remotely in ide
![image](https://user-images.githubusercontent.com/2684384/140483024-bede93a0-579a-4b4c-87ac-badf9bce453a.png)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org