|
node를 실행
vscode에 launch.json
|
{ // IntelliSense를 사용하여 가능한 특성에 대해 알아보세요. // 기존 특성에 대한 설명을 보려면 가리킵니다. // 자세한 내용을 보려면 https://go.microsoft.com/fwlink/?linkid=830387을(를) 방문하세요. "version": "0.2.0", "configurations": [ { "type": "chrome", "request": "launch", "name": "Launch Chrome against localhost", "url": "http://localhost:3000", "webRoot": "${workspaceFolder}/src" } ] } |
터널링 구축
|
ssh -N -L 9221:localhost:9229 [remoteIP] |
node를 inspection 모드로 변경 & 웹 서버 실행
|
node --inspect & yarn start |
vscode에 launch.json
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
{ // IntelliSense를 사용하여 가능한 특성에 대해 알아보세요. // 기존 특성에 대한 설명을 보려면 가리킵니다. // 자세한 내용을 보려면 https://go.microsoft.com/fwlink/?linkid=830387을(를) 방문하세요. "version": "0.2.0", "configurations": [ { "address": "localhost", "localRoot": "${workspaceFolder}", "name": "Attach to Remote", "port": 9229, "remoteRoot": "...", "request": "attach", "skipFiles": [ "<node_internals>/**" ], "type": "pwa-node" } ] } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
# Install Dependencies # ----------------------------------------------------------------------------------------------------------- # Build requirements: sudo apt install git build-essential libtool autotools-dev autoconf automake pkg-config bsdmainutils python3 libssl-dev libssl-dev # Install required dependencies sudo apt install libevent-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev # Install the BerkeleyDB from Ubuntu repositories: sudo apt install libdb-dev libdb++-dev libsqlite3-dev # Optional: upnpc sudo apt install libminiupnpc-dev # Optional ZMQ: sudo apt install libzmq3-dev # For GUI: sudo apt install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler # For QR Code support sudo apt install libqrencode-dev # Install Bitcoin # ----------------------------------------------------------------------------------------------------------- git clone https://github.com/bitcoin/bitcoin.git # Move into project directory cd bitcoin # Config # ----------------------------------------------------------------------------------------------------------- # Generate config script ./autogen.sh # If debugging symbols not required, amend compile flags: ./configure --with-incompatible-bdb CXXFLAGS="-O2" # ...lot's of checking... # Make # ----------------------------------------------------------------------------------------------------------- make # Install - sudo is required to install binaries in /usr/local/bin sudo make install |
|
링크
|